registry
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
298 B

# Important
# Add your IP in subjectAltName in the openssl.cnf before generating i
# certssudo vi /etc/ssl/openssl.cnf
# Add this line
#subjectAltName=IP:192.168.0.2
mkdir -p ./certs
openssl req \
-newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key \
-x509 -days 365 -out certs/domain.crt