zaburo / web-shell

Automatically exported from code.google.com/p/web-shell
0 stars 0 forks source link

SSL chains with intermediate certificates broken #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use a PEM chain which requires an intermediate certificate (such as from 
Verisign)
2. Go to the web site in a browers
3. The program will only transmit the first certificate in the chain

What is the expected output? What do you see instead?
The program should send the entire chain, but it only sends the first 
certificate

What version of the product are you using? On what operating system?
v0.9.2 on MacOS

Please provide any additional information below.
Change the line:
ctx.use_certificate_file(ssl_cert)
to
ctx.use_certificate_chain_file(ssl_cert)
will allow use of chained certificate files properly.

Original issue reported on code.google.com by jasonjsc...@gmail.com on 31 Jul 2007 at 2:01

GoogleCodeExporter commented 8 years ago
Fixed problem. Thanks for the fix!

Original comment by mre...@gmail.com on 1 Aug 2007 at 7:34