|
Dear Stephen and dear all, regarding Stephen's question below: Yes, I have. Just missed to write it down here, since it is already in main(). Sorry.On Sat, Apr 24, 2010, Modem Man wrote:Dear all, My_InitCryptoSeed(); ERR_load_BIO_strings(); ERR_load_crypto_strings(); SSL_library_init(); SSL_load_error_strings(); OpenSSL_add_all_algorithms(); How could I see, which ciphers the 'other side' is offending? May be, you can give me one more hint? I thought, it could it be a good idea to temporarily modify may server, so he immediately jumps into the "AUTH TLS" handler. So, next, I tested with command openssl s_client -connect localhost:21 and got: Loading 'screen' into random state - doneThis looks, is if my server _failed_ to load SSL_CTX_load_verify_locations( ctx, CAFILE, CAPATH ), right? I have: #define CAFILE "d:\\proj.svn\\common\\openssl-1.0.0\\_MyCerts\\servercert.pem" #define CAPATH "d:\\proj.svn\\common\\openssl-1.0.0\\_MyCerts" and there is almost everything *.pem stuff laying around. When using already compiled openssl.exe, the <openssl.cnf> file is loaded from d:\proj.svn\common\openssl-1.0.0\ssl\openssl.cnf, so I modified there: HOME = d:\proj.svn\common\openssl-1.0.0\_MyCerts [ CA_default ] dir = d:\proj.svn\common\openssl-1.0.0\_MyCerts # Where everything is kept But I do not know, if my server.exe also loads from there... I also don't know, if my pem files are okay, since I'm pretty new in this SSL business. My serverkey.pem is: -----BEGIN RSA PRIVATE KEY----- some base64 stuff -----END RSA PRIVATE KEY----- My servercert.pem is: -----BEGIN CERTIFICATE----- some base64 stuff -----END CERTIFICATE----- ca_cert.pem is: -----BEGIN CERTIFICATE----- some base64 stuff -----END CERTIFICATE----- The only file with such content: __________________________________ Certificate: Data: Version: 3 (0x2) Serial Number: 2 (0x2) Signature Algorithm: sha1WithRSAEncryption Issuer: C=DE, ST=NS, L=Hannover, O=Ich AG, CN=Modem Man/emailAddress=modem-man .... __________________________________ is 02.pem in the _MyCerts dir and is referenced by index.txt as: V 200421174822Z 02 unknown /C=DE/ST=NS/O=Ich AG/CN=192.168.0.192 So I completely ran out of ideas here.... with very best regards, Modem Man ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected] |
- BIO_do_handshake() little help wanted Modem Man
- Re: BIO_do_handshake() little help wanted Dr. Stephen Henson
- Re: BIO_do_handshake() little help wanted Modem Man
- some VC++ help wanted: can not step into S... Modem Man
- Re: some VC++ help wanted: can not ste... Mounir IDRASSI
- Re: some VC++ help wanted: can no... Modem Man
- Re: some VC++ help wanted: can not ste... Kyle Hamilton
- Re: some VC++ help wanted: can no... Modem Man
- Re: BIO_do_handshake() little help wanted Kyle Hamilton
