ssl.conf 작성 [req] distinguished_name = req_distinguished_name x509_extensions = v3_req prompt = no
[req_distinguished_name] C = KR ST = Seoul L = Seoul O = Proxmox Study #OU = Proxmox Study CN = 10.0.0.100
[v3_req] keyUsage = nonRepudiation, digitalSignature, keyEncipherment extendedKeyUsage = serverAuth subjectAltName = @alt_names
[alt_names]
IP.1 = 10.0.0.100
[req_distinguished_name] C = KR ST = Seoul L = Seoul O = Proxmox Study #OU = Proxmox Study CN = 10.0.0.100 와 [alt_names]
IP.1 = 10.0.0.100 는 적당히 고친다.
그리고, 아래 명령으로 key.pem, cert.pem 생성 openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -outform PEM -keyout key.pem -out cert.pem -config ./ssl.conf -extensions v3_req
|