I've been going around and around with Cisco TAC on this problem. I'm beginning to wonder if access to the restconf API on Cisco switches is actually a myth. I am running Cisco 3850s with Restconf enabled. IOS XE 16.6.6. I've tried upgrading to IOS XE 16.9.7. I've tried local authentication as well as authentication using TACACS via ISE and get the same authentication error. I am using self signed SSL certs. Cisco TAC tried totally removing the config for htttp, https, yang, restconf, as well as removing and regenerating the self signed SSL certificate. I've tried this via a Windows 10 PC as well as a Linux PC.
Here is the command I used to test access to the restconf API and the error I receive. My real credentials were used for the username and password. The switch IP was used as well. I've tried other curl commands as well. All fail authentication.
H:\>curl -k https://ipaddress/restconf/ -u "username:password" 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.
You should not have this issue with YDK-0.8.5, which provides support for SSL connection to Restconf server. The documentation describes procedure how the SSL certificate should be installed on the client platform.
If you are working with YANG Suite, please change the subject label.
Networking Automation and Analytics Knowledge Base
For one-on-one help with these products, you can open a ticket at https://developer.cisco.com/site/support/. For other products, please contact Cisco TAC at https://www.cisco.com/c/en/u...
Networking Tools Knowledge Base
For one-on-one help with these products, you can open a ticket at https://developer.cisco.com/site/support/. For other products, please contact Cisco TAC at https://www.cisco.com/c/en/us/support/index.html
YANG Tools Knowledge Base
For one-on-one help with developer products, you can open a ticket at https://developer.cisco.com/site/support/. For other products, please contact Cisco TAC (https://www.cisco.com/c/en/us/support/index.html).
Difference between USGMII and USXGMII:
USGMII is used for 8x10M/100M/1GE network ports, with each port maximum speed of 1GE. USXGMII-Single Port version can be used to support ONE network port with 10M/100M/1G/2.5G/5G/10G data rates
USGMII is used...
Hi, how to execute linux-commands (which are executeable directly in the guestshell) from IOS-XE sample :[guestshell@guestshell ~]$ cat test.txt | grep SmartSmart Licensing Status: Smart Licensing is DISABLED[guestshell@guestshell ~]$ exit ...