6 days ago my domain’s IP address changed (forgot to renew additional one), didn’t see any errors, site was working perfect.
Then I paid attention that other servers with scripts can’t access my server due to ssl validation error, in fact my own server can’t access itself, php goes like:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /var/www/domain.io/public_html/test.php on line 3 Warning: file_get_contents(): Failed to enable crypto in /var/www/domain.io/public_html/test.php on line 3 Warning: file_get_contents(https://domain.io/blank.html): failed to open stream: operation failed in /var/www/domain.io/public_html/test.php on line 3
I tried to update certificate via certbot, but it went SSL error to:
To fix these errors, please make sure that your domain name wasentered correctly and the DNS A/AAAA record(s) for that domaincontain(s) the right IP address.
Then I treid to delete certificate via certbot:
certbot delete some "parameter" I think it was '-d' domain.io
Then nginx went like:
nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/domain.io/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/domain.io/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
tried to get one via:
Which got me to:
How would you like to authenticate with the ACME CA?
1: Nginx Web Server plugin (nginx) [Misconfigured]
I’m choosing number 1 but it doesn’t want to react, please help