Skip to content

Commit

Permalink
change ssl cert location for api
Browse files Browse the repository at this point in the history
  • Loading branch information
rodecker committed Nov 10, 2024
1 parent 6d2a439 commit a80ea5d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions roles/apache2/files/api-vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ LogLevel warn
CustomLog ${APACHE_LOG_DIR}/api.ring.nlnog.net-access.log combined

SSLEngine On
SSLCACertificateFile /etc/letsencrypt/live/api.ring.nlnog.net/fullchain.pem
SSLCACertificateFile /var/lib/ssl/api.ring.nlnog.net/fullchain.pem

WSGIScriptAlias / /var/www/api.ring.nlnog.net/api.wsgi

SSLCertificateFile /etc/letsencrypt/live/api.ring.nlnog.net/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/api.ring.nlnog.net/privkey.pem
SSLCertificateFile /var/lib/ssl/api.ring.nlnog.net/cert.pem
SSLCertificateKeyFile /var/lib/ssl/api.ring.nlnog.net/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/api.ring.nlnog.net/chain.pem
SSLCertificateChainFile /var/lib/ssl/api.ring.nlnog.net/chain.pem

</VirtualHost>
8 changes: 4 additions & 4 deletions roles/apache2/files/api4-vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ LogLevel warn
CustomLog ${APACHE_LOG_DIR}/api4.ring.nlnog.net-access.log combined

SSLEngine On
SSLCACertificateFile /etc/letsencrypt/live/api4.ring.nlnog.net/fullchain.pem
SSLCACertificateFile /var/lib/ssl/api4.ring.nlnog.net/fullchain.pem

WSGIScriptAlias / /var/www/api.ring.nlnog.net/api.wsgi

SSLCertificateFile /etc/letsencrypt/live/api4.ring.nlnog.net/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/api4.ring.nlnog.net/privkey.pem
SSLCertificateFile /var/lib/ssl/api4.ring.nlnog.net/cert.pem
SSLCertificateKeyFile /var/lib/ssl/api4.ring.nlnog.net/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/api4.ring.nlnog.net/chain.pem
SSLCertificateChainFile /var/lib/ssl/api4.ring.nlnog.net/chain.pem

</VirtualHost>
8 changes: 4 additions & 4 deletions roles/apache2/files/api6-vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ LogLevel warn
CustomLog ${APACHE_LOG_DIR}/api6.ring.nlnog.net-access.log combined

SSLEngine On
SSLCACertificateFile /etc/letsencrypt/live/api6.ring.nlnog.net/fullchain.pem
SSLCACertificateFile /var/lib/ssl/api6.ring.nlnog.net/fullchain.pem

WSGIScriptAlias / /var/www/api.ring.nlnog.net/api.wsgi

SSLCertificateFile /etc/letsencrypt/live/api6.ring.nlnog.net/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/api6.ring.nlnog.net/privkey.pem
SSLCertificateFile /var/lib/ssl/api6.ring.nlnog.net/cert.pem
SSLCertificateKeyFile /var/lib/ssl/api6.ring.nlnog.net/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/api6.ring.nlnog.net/chain.pem
SSLCertificateChainFile /var/lib/ssl/api6.ring.nlnog.net/chain.pem

</VirtualHost>

0 comments on commit a80ea5d

Please sign in to comment.