Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How to use HTTPS with TCL on a 881-W router?

I have been able to get https to work from IOS command using copy or more. I have also able to get http gets and posts to work form TCL scripts.

But what I need to get to work from TCL is Secure HTTP (https). I am using a 881-W Router.

The http.tcl file on the router history shows that SSL suport added.

# Rough version history:

# 1.0     Old http_get interface

# 2.0     http:: namespace and http::geturl

# 2.1     Added callbacks to handle arriving data, and timeouts

# 2.2     Added ability to fetch into a channel

# 2.3     Added SSL support, and ability to post from a channel

#     This version also cleans up error cases and eliminates the

#     "ioerror" status in favor of raising an error

# 2.4     Added -binary option to http::geturl and charset element

#     to the state array.

Does anyone have been able to get this to work?

If so do you have an example TCL script using https?


Mark Wright

Everyone's tags (4)