The Accidental Rubyist

invalid byte sequence in UTF-8

Getting gmx to work without novalidate-cert

leave a comment »

This was simple (thanks to madboa)


openssl s_client -connect www.gmx.com:443

This gives an output. Copy the begin certification to end certificate part and place in a file named gmx.pem.
It should look like this (lines deleted in between):

-----BEGIN CERTIFICATE-----
MIIDUzCCArygAwIBAgIQIvcebQE7u+QGIM7tD/CuCjANBgkqhkiG9w0BAQUFADCB
zjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJ
qPqkqsLcZWVrMrGQsc0MXhixYXVns4aHpkeXfUPbFr/Cv9ly5NAa
-----END CERTIFICATE-----

openssl x509 -in gmx.pem -hash -noout

#(this outputs: ca09c2c4)

cp gmx.pem ca09c2c4.0

#(copy the .0 file to the location pointed to by openssl version -d)
sudo cp ca09c2c4.0 /opt/local/etc/openssl/certs

# fire up alpine and send a mail using gmx, and then check .pine.debug1
alpine -d tcp,imap=4,verbose=4

#show me:
# IMAP DEBUG 10:17:32 9/2: AUTH CRAM-MD5


$ man woman

Advertisements

Written by totalrecall

September 2, 2008 at 10:39 am

Posted in being_geeky, unix

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: