Skip to content
Snippets Groups Projects
Forked from flg_projects / nexus_vdi / nexus
243 commits behind the upstream repository.
certificates 692 B
#!/bin/sh

. /lib/live/config.sh

## live-config(7) - System Configuration Components
## Copyright (C) 2016-2020 The Debian Live team
## Copyright (C) 2006-2015 Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.

# Unused for now
add_nexus_certs ()
{
    if [ ! -e /etc/ssl/certs/nexus-server.pem ] && [ -e /usr/share/ca-certificates/nexus-server/nexus-server.crt ]
    then
        echo "nexus-server/nexus-server.crt" >> /etc/ca-certificates.conf
        update-ca-certificates
    fi
}

add_nexus_certs