HTTPS request

J

Johny

If I need to log in to a site using https protocol must I use
certification file and key file?
The class HTTPSConnection syntax is
class HTTPSConnection( host[, port, key_file, cert_file])

and I do not know if it is nescessary or not.
Thanks for help.
L.
 
L

Larry Bates

Johny said:
If I need to log in to a site using https protocol must I use
certification file and key file?
The class HTTPSConnection syntax is
class HTTPSConnection( host[, port, key_file, cert_file])

and I do not know if it is nescessary or not.
Thanks for help.
L.
Depends on what the server requires. You can do basic authenticate to a https:
site if it supports it.

-Larry
 
J

Johny

Johny said:
If I need to log in to a site using https protocol must I use
certification file and key file?
The class HTTPSConnection syntax is
class HTTPSConnection( host[, port, key_file, cert_file])
and I do not know if it is nescessary or not.
Thanks for help.
L.

Depends on what the server requires. You can do basic authenticate to a https:
site if it supports it.

-Larry

Hello Larry,
Thanks for your reply.
I had to register on this site, so I have Login and Password.
I can log in to the site through normal process on the server(by
filling in the login form).
But I can not login to the site from my Python program.
I use the same procedure as I do for other webservers that require
login information. The only difference is that the server, this time,
is HTTPS server.
So I do not know if I must use a SSL certificate or not and if I can
use HTTP 1.0 or I must use HTTP 1.1 protocol.
Any idea?
Thanks
L.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,981
Messages
2,570,187
Members
46,728
Latest member
FernMcmull

Latest Threads

Top