This is an automated archive.
The original was posted on /r/openssl by /u/mfaridi1978 on 2023-04-04 13:34:00+00:00.
I run this command on Fedora server
sudo openssl req -out tls.crt -new -keyout tls.key -newkey rsa:4096 -nodes -sha256 -x509 -subj "/O=HashiCorp/CN=Vault" -addext "subjectAltName =IP:127.0.0.1,IP:192.168.56.70,DNS:core" -days 3650
and this command generate tls.key and tls.crt for me
but when I run this command on oracle Linux
sudo openssl req -out tls.crt -new -keyout tls.key -newkey rsa:4096 -nodes -sha256 -x509 -subj "/O=HashiCorp/CN=Vault" -addext "subjectAltName =IP:127.0.0.1,IP:192.168.56.70,DNS:uid_core" -days 3650
I see this error
unknown option -addext
req [options] <infile >outfile
where options are
-inform arg input format - DER or PEM
-outform arg output format - DER or PEM
-in arg input file
-out arg output file
-text text form of request
-pubkey output public key
-noout do not output REQ
-verify verify signature on REQ
-modulus RSA modulus
and can not make key
You must log in or # to comment.