Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add subjectAltName field into self signed certificate
Current install script only fills CN field with PUBLIC_HOST value. When trying to access api and provide the self signed certificate to verify server certificate, the request will fail with SSL: CERTIFICATE_VERIFY_FAILED error. To prevent this error, the install script should add "subjectAltName = IP.1:${PUBLIC_HOST}" when generating self signed certificate. ```python import requests requests.get('https://${API_PREFIX}/access-keys',verify='shadowbox-selfsigned.crt') ```
- Loading branch information