curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

When I try to connect to any server (e.g. google.com) using curl (or libcurl) I get the error message: curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number Verbose output: $ curl www.google.com –verbose * Rebuilt URL to: www.google.com/ * Uses proxy env variable no_proxy == ‘localhost,127.0.0.1,localaddress,.localdomain.com’ * Uses proxy env variable http_proxy == ‘https://proxy.in.tum.de:8080’ * Trying 131.159.0.2… … Read more

How do you sign a Certificate Signing Request with your Certification Authority?

During my search, I found several ways of signing a SSL Certificate Signing Request: Using the x509 module: openssl x509 -req -days 360 -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out server.crt Using the ca module: openssl ca -cert ca.crt -keyfile ca.key -in server.csr -out server.crt Note: I am unsure of the use of the … Read more

How to install OpenSSL in windows 10?

I have a question about how and what is the version of OpenSSl that I must install in Windows to later create certificates. Install a one version (openssl-1.0.2d-fips-2.0.10) found in SourceForge but it does not generate the files correctly. There is also the official website https://www.openssl.org, but I do not know how to install it … Read more

How to generate a self-signed SSL certificate using OpenSSL?

I’m adding HTTPS support to an embedded Linux device. I have tried to generate a self-signed certificate with these steps: openssl req -new > cert.csr openssl rsa -in privkey.pem -out key.pem openssl x509 -in cert.csr -out cert.pem -req -signkey key.pem -days 1001 cat key.pem>>cert.pem This works, but I get some errors with, for example, Google … Read more