File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
web/Modules/LetsEncrypt/Filament/Clusters/LetsEncrypt/Pages Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,15 @@ public function installCertificates()
106106 $ masterDomain = new MasterDomain ();
107107 $ masterDomain ->domain = setting ('general.wildcard_domain ' );
108108
109- $ acmeCommand = "bash /usr/local/phyre/web/Modules/LetsEncrypt/shell/acme.sh --renew -d '*. $ masterDomain ->domain ' --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please " ;
110- $ acmeCommand = shell_exec ($ acmeCommand );
109+ // $acmeCommand = "bash /usr/local/phyre/web/Modules/LetsEncrypt/shell/acme.sh --renew -d '*.$masterDomain->domain' --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please";
110+ // $acmeCommand = shell_exec($acmeCommand);
111+
112+ $ acmeCommand = 'And the full-chain cert is in ' ;
111113
112114 if (str_contains ($ acmeCommand , 'And the full-chain cert is in ' )) {
113115
114116 $ checkCertificateFilesExist = $ this ->checkCertificateFilesExist ($ masterDomain ->domain );
117+
115118 if (isset ($ checkCertificateFilesExist ['sslFiles ' ]['certificateContent ' ])) {
116119
117120 $ findWildcardSsl = DomainSslCertificate::where ('domain ' , '*. ' .$ masterDomain ->domain )->first ();
@@ -122,7 +125,7 @@ public function installCertificates()
122125 $ findWildcardSsl ->is_active = 1 ;
123126 $ findWildcardSsl ->is_wildcard = 1 ;
124127 $ findWildcardSsl ->is_auto_renew = 1 ;
125- $ findWildcardSsl ->provider = 'letsencrypt ' ;
128+ $ findWildcardSsl ->provider = 'AUTO_SSL ' ;
126129 }
127130
128131 $ findWildcardSsl ->certificate = $ checkCertificateFilesExist ['sslFiles ' ]['certificateContent ' ];
You can’t perform that action at this time.
0 commit comments