Skip to content

Commit 710bac2

Browse files
committed
Remove wildcard trimming
Signed-off-by: Kirtan Gajjar <[email protected]>
1 parent 08187dc commit 710bac2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

php/class-ee-site-letsencrypt.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,6 @@ private function executeFirstRequest( $domain, array $alternativeNames, $email )
313313
}
314314

315315
private function moveCertsToNginxProxy( string $domain ) {
316-
// To handle wildcard certs
317-
$domain = ltrim( $domain, '*.' );
318316

319317
$key_source_file = strtr( $this->conf_dir . '/' . Repository::PATH_DOMAIN_KEY_PRIVATE, [ '{domain}' => $domain ] );
320318
$crt_source_file = strtr( $this->conf_dir . '/' . Repository::PATH_DOMAIN_CERT_FULLCHAIN, [ '{domain}' => $domain ] );

0 commit comments

Comments
 (0)