Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Sep 17, 2024
1 parent 5abe09b commit 1eb461f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion web/Modules/LetsEncrypt/Models/LetsEncryptCertificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ public static function boot()

$findSSL = DomainSslCertificate::where('domain', $findDomain->domain)->first();
if ($findSSL) {
throw new \Exception('SSL already exists');
$findSSL->delete();
$findSSL = null;
// throw new \Exception('SSL already exists');
}

$findHostingSubscription = HostingSubscription::where('id', $findDomain->hosting_subscription_id)->first();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
--manual \
--preferred-challenges=http \
-d {{$domain}} \
-d mail.{{$domain}} \
--email {{$email}} \
--manual-auth-hook /usr/local/phyre/web/Modules/LetsEncrypt/shell/hooks/pre/http-authenticator.sh \
--force-renewal

0 comments on commit 1eb461f

Please sign in to comment.