How to ensure that generating a self-signed cert reflects the latest TLS version
Issue
-
How do I ensure that when I create a self-signed cert that it reflex the latest TLS version?
-
I need to know if Red Hat openssl can create certs that will depict tls 1.2. Security will require that all self signed certs are TLS 1.2 and no more SSL will be allowed.
For example, Run the below command:
openssl req -x509 -nodes -sha256 -newkey rsa:2048 -keyout mykey.key -out mycert.crt -x509 -days 365
The cert was created as a TLS 1.0, SHA256 cert.
Environment
Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.