Skip to content

Commit 1eb461f

Browse files
update
1 parent 5abe09b commit 1eb461f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

web/Modules/LetsEncrypt/Models/LetsEncryptCertificate.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ public static function boot()
3232

3333
$findSSL = DomainSslCertificate::where('domain', $findDomain->domain)->first();
3434
if ($findSSL) {
35-
throw new \Exception('SSL already exists');
35+
$findSSL->delete();
36+
$findSSL = null;
37+
// throw new \Exception('SSL already exists');
3638
}
3739

3840
$findHostingSubscription = HostingSubscription::where('id', $findDomain->hosting_subscription_id)->first();

web/Modules/LetsEncrypt/resources/views/actions/certbot-http-secure-command.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
--manual \
55
--preferred-challenges=http \
66
-d {{$domain}} \
7-
-d mail.{{$domain}} \
87
--email {{$email}} \
98
--manual-auth-hook /usr/local/phyre/web/Modules/LetsEncrypt/shell/hooks/pre/http-authenticator.sh \
109
--force-renewal

0 commit comments

Comments
 (0)