Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/08/2009, 02:02
napalm_jp
 
Fecha de Ingreso: noviembre-2005
Mensajes: 28
Antigüedad: 18 años, 5 meses
Puntos: 0
Respuesta: Conectar con curl a https con certificado

Por si a alguien le puede ayudar, si ejecuto en la línea de comandos:

openssl s_client -host xxx -port 443 -CAfile certificado.pem

El servidor me devuelve:

CONNECTED(00000003)

El certificado

---
No client certificate CA names sent
---
SSL handshake has read 2686 bytes and written 300 bytes
---
New, TLSv1/SSLv3, Cipher is RC4-MD5
Server public key is 1024 bit
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : RC4-MD5
Session-ID: 8A150000DE606...
Session-ID-ctx:
Master-Key: D64652979BC14C...
Key-Arg : None
Start Time: 1250841588
Timeout : 300 (sec)
Verify return code: 0 (ok)
---