Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 499 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 499 Bytes

Generate SSL certificates for the Nginx

cd ./nginx/certs

Generate a private key

openssl genpkey -algorithm RSA -out pygeoapi.key

Generate a certificate signing request (CSR)

openssl req -new -key pygeoapi.key -out pygeoapi.csr -subj "/C=EG/ST=Cairo/L=Cairo/O=Pygeoapi/OU=IT Department/CN=\*.pygeoapi.local"

Generate the self-signed certificate

openssl x509 -req -days 365 -in pygeoapi.csr -signkey pygeoapi.key -out pygeoapi.crt