Closed shesamian closed 1 year ago
I am trying to use a self-signed certificate with Docker and I am wondering if it's even supported with Redfish-Mockup-Server
openssl req -new -x509 -keyout cert.pem -out cert.pem -days 365 -nodes
And run Docker:
docker run --rm --name asb88rn24u01 -p 80:80/tcp -p 443:443/tcp -v C:\asb88rn24u01:/mockup -v C:\cert.pem:/temp/cert.pem -v C:\key.pem:/temp/key.pem dmtf/redfish-mockup-server:latest -D /mockup --cert /temp/cert.pem --key /temp/key.pem -p 443
It successfully connects but its having trouble with the certificate version being served
logs:
Looks like a failure to use the -s|--ssl option of the server in order to actually do HTTPS and not plain HTTP
-s|--ssl
I am trying to use a self-signed certificate with Docker and I am wondering if it's even supported with Redfish-Mockup-Server
And run Docker:
It successfully connects but its having trouble with the certificate version being served
logs: