RickDeckard
Verified User
- Joined
- Mar 18, 2011
- Messages
- 103
On a CentOS7 DA server i had an Let's Encrypt hostname correctly set like always:
https://help.directadmin.com/item.php?id=629
Now on this machine i've changed hostname and i've generate again the related Let's Encrypt
But result certificate is invalid:
Hot to fix it?
Thanks
https://help.directadmin.com/item.php?id=629
Now on this machine i've changed hostname and i've generate again the related Let's Encrypt
But result certificate is invalid:
# openssl s_client -servername new.hostname.com -host new.hostname.com -port 443 | grep 'Verify return code'
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = old.hostname.com
verify return:1
Verify return code: 0 (ok)
Hot to fix it?
Thanks