Hello, I am now trying to transfer my website from old server to new server. A private company was looking after my website and they got already certificate but now I wento inside there cpanel and pointed my new ip address yesterday and now I am trying to get this certificate. but while I am doing this here, I got the following message; Could not automatically find a matching server block for easygoshuttle.com.au. Set the server_name directive to use the Nginx installer.
My domain is: easygoshuttle.com.au
I ran this command: sudo certbot --nginx
It produced this output: The certificate was saved, but could not be installed (installer: nginx)
My web server is (include version): Cloud compute, nginx, gunicorn
The operating system my web server runs on is (include version): Ubuntu 21.04 x 64
@sung Note that to re-install your previously issued (but not installed) certificate, it isn't necessary to re-issue the certificate from the Let's Encrypt servers. Certbot should ask you if you would like to try to install the existing cert again or issue a new one. You should choose the former and not the latter
That's right. I did not put server_name on purpose, instead I put only IP address because at that time it was deploying on old server. Let me try to put server name. Thanks a lot
That command should have shown you a whole lot more. It should have listed your entire current nginx configuration. I doubt that's just the directives from proxy_params?
Thank you all. It works.. all good but I test it if it works fine
I got this message (attached the screenshot) and paste below
Your connection is not private
Attackers might be trying to steal your information from www.easygoshuttle.com.au (for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_COMMON_NAME_INVALID
To get Chrome’s highest level of security, turn on enhanced protection
I searched 'easygoshuttle.com.au' in google and the results came out, I just clicked the one like other client might do the way
more message (after clicking 'advanced')
This server could not prove that it is www.easygoshuttle.com.au; its security certificate is from easygoshuttle.com.au. This may be caused by a misconfiguration or an attacker intercepting your connection.
Proceed to www.easygoshuttle.com.au (unsafe)
Before clicking 'turn on enhanced security', I think I should ask you guys first.