diff options
author | lookshe <github@lookshe.org> | 2016-11-10 21:49:05 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2016-11-10 21:49:05 +0100 |
commit | 7bf24bffc2ca40f6b11428d4620149e9f966dc0d (patch) | |
tree | 9e3df6621faeb6799eee1cd51623c8d4c0aec1f7 | |
parent | 027cea1ada3a18349ed3607710c859ba9ae54b46 (diff) |
changed pathes to acme.sh files
-rwxr-xr-x | src/server/plugins-available/apache2_plugin.inc.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/server/plugins-available/apache2_plugin.inc.php b/src/server/plugins-available/apache2_plugin.inc.php index 3647606..c5d3822 100755 --- a/src/server/plugins-available/apache2_plugin.inc.php +++ b/src/server/plugins-available/apache2_plugin.inc.php @@ -946,7 +946,6 @@ class apache2_plugin { $bundle_file = $ssl_dir.'/'.$domain.'.bundle'; if($data['new']['ssl'] == 'y' && $data['new']['ssl_letsencrypt'] == 'y') { - $domain = $data['new']['domain']; if(substr($domain, 0, 2) === '*.') { // wildcard domain not yet supported by letsencrypt! $app->log('Wildcard domains not yet supported by letsencrypt, so changing ' . $domain . ' to ' . substr($domain, 2), LOGLEVEL_WARN); @@ -1023,9 +1022,9 @@ class apache2_plugin { unset($subdomains); unset($temp_domains); - $crt_tmp_file = "/etc/letsencrypt/live/".$domain."/cert.pem"; - $key_tmp_file = "/etc/letsencrypt/live/".$domain."/privkey.pem"; - $bundle_tmp_file = "/etc/letsencrypt/live/".$domain."/chain.pem"; + $crt_tmp_file = "/etc/acme.sh/".$domain."/".$domain.".cer"; + $key_tmp_file = "/etc/acme.sh/".$domain."/".$domain.".key"; + $bundle_tmp_file = "/etc/acme.sh/".$domain."/fullchain.cer"; $webroot = $data['new']['document_root']."/".$web_folder; //* check if we have already a Let's Encrypt cert |