Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/helper/Site_Letsencrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,8 @@ private function executeFirstRequest( $domain, array $alternativeNames, $email )

// Post-generate actions
$this->moveCertsToNginxProxy( $domain );

return true;
}

private function moveCertsToNginxProxy( string $domain ) {
Expand Down Expand Up @@ -636,6 +638,8 @@ private function executeRenewal( $domain, array $alternativeNames, $force = fals
$this->moveCertsToNginxProxy( $domain );
\EE::log( 'Certificate renewed successfully!' );

return true;

} catch ( \Exception $e ) {
\EE::warning( 'A critical error occured during certificate renewal' );
\EE::debug( print_r( $e, true ) );
Expand Down
Loading