-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further fixes with an eye toward getting HTTPS going.
- Loading branch information
Richard Liang
committed
Nov 9, 2023
1 parent
7eacf31
commit 5930a90
Showing
4 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
cluster-setup/deployment/roles/kive_server/files/001-kive-ssl.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# SSL configuration for the Kive web portal. This file was created by copying | ||
# and modifying `/etc/apache2/sites-available/default-ssl.conf`. That file | ||
# has some helpful comments that may be useful to look at if you ever need | ||
# to further adjust this file. | ||
|
||
<IfModule mod_ssl.c> | ||
<VirtualHost _default_:443> | ||
ServerAdmin webmaster@localhost | ||
|
||
DocumentRoot /var/www/html | ||
|
||
ErrorLog ${APACHE_LOG_DIR}/error.log | ||
CustomLog ${APACHE_LOG_DIR}/access.log combined | ||
|
||
SSLEngine on | ||
|
||
SSLCertificateFile /etc/ssl/certs/star_cfe.crt | ||
SSLCertificateKeyFile /etc/ssl/private/star_cfe.key | ||
SSLCertificateChainFile /etc/ssl/certs/DigiCertCA.crt | ||
|
||
#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire | ||
<FilesMatch "\.(cgi|shtml|phtml|php)$"> | ||
SSLOptions +StdEnvVars | ||
</FilesMatch> | ||
<Directory /usr/lib/cgi-bin> | ||
SSLOptions +StdEnvVars | ||
</Directory> | ||
|
||
</VirtualHost> | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters