Question

SSL routines:ssl3_get_record:wrong version number

Hi, I followed the following tutorial:

https://www.digitalocean.com/community/tutorials/how-to-install-an-ssl-certificate-from-a-commercial-certificate-authority#step-2-generating-a-csr-and-private-key

to install a cert, that I bought via Namecheap using Apache.

This has been useful, but I keep getting the error I mentioned above, when I do:

curl --verbose --insecure https://[mydomain].de

I can always replicate the problem, when I log onto https://[mydomain].de I am getting an error in the Chrome browser:

ERR_SSL_PROTOCOL_ERROR

I should say that I’m new to installing certs, so it may well be a simple error.

Many thanks

Felix

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
January 3, 2023
Accepted Answer

Hi there,

Did you specify the listen 443 ssl; directive in the server block where you’ve defined the SSL certificate?

If so, would you mind sharing the complete Nginx server block that you currently have so I could take a quick look?

Best,

Bobby

In the thread below the response above you can follow how we came to the solution. Thanks again to Bobby Iliev for all their help!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel