Skip to content
Snippets Groups Projects
Commit dc305e92 authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

SSL Certs

parent 1a3b5c81
No related branches found
No related tags found
1 merge request!2Merge till Production
...@@ -72,11 +72,11 @@ class skadereg { ...@@ -72,11 +72,11 @@ class skadereg {
before => Service['httpd'] before => Service['httpd']
} }
# include ::certdist include ::certdist
# $cert = "/etc/pki/tls/certs/cert-${::fqdn}.pem" $cert = "/etc/pki/tls/certs/cert-${::fqdn}.pem"
# $chain = "/etc/pki/tls/certs/chain-${::fqdn}.pem" $chain = "/etc/pki/tls/certs/chain-${::fqdn}.pem"
# $key = "/etc/pki/tls/private/${::fqdn}.key" $key = "/etc/pki/tls/private/${::fqdn}.key"
apache::vhost { 'default:80': apache::vhost { 'default:80':
servername => $::fqdn, servername => $::fqdn,
...@@ -91,9 +91,9 @@ class skadereg { ...@@ -91,9 +91,9 @@ class skadereg {
servername => $::fqdn, servername => $::fqdn,
port => '443', port => '443',
ssl => true, ssl => true,
# ssl_cert => $cert, ssl_cert => $cert,
# ssl_chain => $chain, ssl_chain => $chain,
# ssl_key => $key, ssl_key => $key,
headers => ['Set Strict-Transport-Security "max-age=31536000"',], headers => ['Set Strict-Transport-Security "max-age=31536000"',],
docroot => '/var/www/skadereg/public', docroot => '/var/www/skadereg/public',
directories => [ directories => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment