Finally managed to connect to SSL via command line:
Please note that in the first example the consumer is "None", wheres when a dummy key is added, the consumer is successfully recognized.
Max
openssl s_client -connect api.launchpad.net:443 [...] GET /beta/ HTTP/1.1 Host: api.launchpad.net Authorization: OAuth oauth_consumer_key="just+testing"
HTTP/1.1 401 Unauthorized Date: Tue, 27 Jan 2009 09:49:08 GMT Server: zope.server.http (HTTP) X-Powered-By: Zope (www.zope.org), Python (www.python.org) X-Lazr-Oopsid: OOPS-1123H722 Content-Type: text/plain Content-Length: 24 Via: 1.1 wildcard.launchpad.net
Unknown consumer (None). DONE
---
openssl s_client -connect api.launchpad.net:443 [...] GET /beta/ HTTP/1.1 Host: api.launchpad.net Authorization: OAuth dummy="bla", oauth_consumer_key="just+testing"
HTTP/1.1 401 Unauthorized Date: Tue, 27 Jan 2009 09:50:25 GMT Server: zope.server.http (HTTP) X-Powered-By: Zope (www.zope.org), Python (www.python.org) X-Lazr-Oopsid: OOPS-1123C781 Content-Type: text/plain Content-Length: 32 Via: 1.1 wildcard.launchpad.net
Unknown consumer (just+testing). DONE
Finally managed to connect to SSL via command line:
Please note that in the first example the consumer is "None", wheres when a dummy key is added, the consumer is successfully recognized.
Max
openssl s_client -connect api.launchpad. net:443 key="just+ testing"
[...]
GET /beta/ HTTP/1.1
Host: api.launchpad.net
Authorization: OAuth oauth_consumer_
HTTP/1.1 401 Unauthorized launchpad. net
Date: Tue, 27 Jan 2009 09:49:08 GMT
Server: zope.server.http (HTTP)
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
X-Lazr-Oopsid: OOPS-1123H722
Content-Type: text/plain
Content-Length: 24
Via: 1.1 wildcard.
Unknown consumer (None).
DONE
---
openssl s_client -connect api.launchpad. net:443 key="just+ testing"
[...]
GET /beta/ HTTP/1.1
Host: api.launchpad.net
Authorization: OAuth dummy="bla", oauth_consumer_
HTTP/1.1 401 Unauthorized launchpad. net
Date: Tue, 27 Jan 2009 09:50:25 GMT
Server: zope.server.http (HTTP)
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
X-Lazr-Oopsid: OOPS-1123C781
Content-Type: text/plain
Content-Length: 32
Via: 1.1 wildcard.
Unknown consumer (just+testing).
DONE