We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f973496 commit 3fd9dd1Copy full SHA for 3fd9dd1
install/lib/installer_base.lib.php
@@ -3133,6 +3133,12 @@ public function make_ispconfig_ssl_cert() {
3133
// certbot returns with 0 on issue for already existing certificate
3134
3135
$acme_cert_dir = '/etc/letsencrypt/live/' . $hostname;
3136
+ foreach (array( 'fullchain.pem', 'privkey.pem' ) as $f) {
3137
+ $f = $acme_cert_dir . '/' . $f;
3138
+ if (file_exists($f) && ! is_link($f)) {
3139
+ unlink($f);
3140
+ }
3141
3142
symlink($acme_cert_dir . '/fullchain.pem', $ssl_crt_file);
3143
symlink($acme_cert_dir . '/privkey.pem', $ssl_key_file);
3144
0 commit comments