OVH Cloud OVH Cloud

Get d'une page https avec certificat ...

1 réponse
Avatar
newsreader31
Bonjour,
Je cherche à faire un get d'une page web https via un certificat.
Je sais le faire en http, mais je suis bloqué car je ne sais pas comment
associer un certificat à mon script ?
Qq'1 peut il m'aider ?
Merci beaucoup

1 réponse

Avatar
Patrick
Je cherche à faire un get d'une page web https via un certificat. Je
sais le faire en http, mais je suis bloqué car je ne sais pas comment
associer un certificat à mon script ?


Avec quel module ?
Avec Net::SSLeay, d'après le man, la fonction set_cert_and_key()
devrait répondre à votre problème.

Patrick.