Hello All there,

i have written an SMTP Proxy using opnessl for the Networkcounication. Now 
trying to use STATTLS with an SMTP Server, in my case smtp.live.com ( Microsoft 
Hotmail )

I Set up my my Truststore Directory using SSL_CTX_load_verify_locations.

SSL_get_verify_result everytime rsults Errorcode 20 
(X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY)

X509_get_subject_name and X509_get_issuer_name returns folling Zerifikat 
information:

/C=US/ST=Washington/L=Redmond/O=Microsoft/OU=Windows Live Mail/CN=smtp.live.com

/CN=Microsoft Secure Server Authority

I Exported the Microsoft Secure Server Authority from Mozilla Firefox so I got 
a MicrosoftSecureServerAuthority.pem file in my trusstore directory.

I executed c_rehash on the directory it Created a file b0398940.0 with 
fileconent: !<symlink>ÿþM

I also tried to Copy the Content of the .pem File to the .0 but Still getting 
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY as Result on calling 
SSL_get_verify_result

What I'am doing wrong? Is there Something i Has forgotten?

Kind Regards 

Michael Biener
-- 
GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to