You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been studying your redfish code architecture and trying to access HTTPS in order to send redfish POST requests to the BMC redfish server.
Here are the steps I took:
Create my own certificates with OpenSSL and put CA-cert.pem, server-cert.pem, and server-key.pem in BMC. (Server CommonName is server's IP address)
Add RULES and RULES_REGEXP in acl_config.py.
Add SSL configs in rest.cfg and open port 8443.
Send a redfish request carrying --cacert CA-cert.pem, --cert client-cert.pem, and --key client-key.pem. (Client CommonName is user:root/192.168.1.110)
However, as long as I carry the argument --cert client-cert.pem, it would respond to me curl: (35) Unknown SSL protocol error. And if I don't, it responds 403: Forbidden normally. My BMC redfish server cannot get client certificate.
Did I miss something? Or is it because I used a self-signed certificate instead of your certificates?
Thank You
The text was updated successfully, but these errors were encountered:
Hi all,
I've been studying your redfish code architecture and trying to access HTTPS in order to send redfish POST requests to the BMC redfish server.
Here are the steps I took:
CA-cert.pem
,server-cert.pem
, andserver-key.pem
in BMC. (Server CommonName is server's IP address)acl_config.py
.rest.cfg
and open port 8443.--cacert CA-cert.pem
,--cert client-cert.pem
, and--key client-key.pem
. (Client CommonName is user:root/192.168.1.110)However, as long as I carry the argument
--cert client-cert.pem
, it would respond to mecurl: (35) Unknown SSL protocol error
. And if I don't, it responds403: Forbidden
normally. My BMC redfish server cannot get client certificate.Did I miss something? Or is it because I used a self-signed certificate instead of your certificates?
Thank You
The text was updated successfully, but these errors were encountered: