Wednesday, July 15, 2020

CSR1000v restapi connection issue

Hey Guys, I am having a issue getting started with restapi on the csr1000v. When running a simple curl command from the command prompt I get this error. Seems to be a issue with the certificate but can not figure it out. Its a temporary self-signed certificate as i am doing this in EVE-NG Lab. Any thoughts on what could be going on. Below is the error I receive.

Trying 172.16.20.28...

* TCP_NODELAY set

* Connected to 172.16.20.28 (172.16.20.28) port 443 (#0)

* schannel: SSL/TLS connection with 172.16.20.28 port 443 (step 1/3)

* schannel: disabled server certificate revocation checks

* schannel: verifyhost setting prevents Schannel from comparing the supplied target name with the subject names in server certificates.

* schannel: using IP address, SNI is not supported by OS.

* schannel: sending initial handshake data: sending 147 bytes...

* schannel: sent initial handshake data: sent 147 bytes

* schannel: SSL/TLS connection with 172.16.20.28 port 443 (step 2/3)

* schannel: encrypted data got 7

* schannel: encrypted data buffer: offset 7 length 4096

* schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). More detail may be available in the Windows System event log.

* Closing connection 0

* schannel: shutting down SSL/TLS connection with 172.16.20.28 port 443

* schannel: clear security context handle

curl: (35) schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). More detail may be available in the Windows System event log



No comments:

Post a Comment