Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Commit

Permalink
Changed: load fullchain.pem for letsencrypt. Fixes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
dlen committed Feb 15, 2021
1 parent f943946 commit cca687e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/setup_nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ setup_nginx(){
if [[ "$(__config_get 'ssl_auto')" == 'true' ]]; then
if __setup_letsencrypt 'passbolt_hostname' 'letsencrypt_email'; then
__nginx_config "$script_directory/conf/nginx/passbolt_ssl.conf" "$NGINX_SITE_DIR/passbolt_ssl.conf" 'passbolt_hostname'
ln -s "$LETSENCRYPT_LIVE_DIR/$passbolt_domain/cert.pem" "$SSL_CERT_PATH"
ln -s "$LETSENCRYPT_LIVE_DIR/$passbolt_domain/fullchain.pem" "$SSL_CERT_PATH"
ln -s "$LETSENCRYPT_LIVE_DIR/$passbolt_domain/privkey.pem" "$SSL_KEY_PATH"
__ssl_substitutions
enable_service "$nginx_service"
Expand Down

0 comments on commit cca687e

Please sign in to comment.