s_client/s_server trouble

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,

I've just run into something weird with openssl 1.0.1 and s_client+s_server:

- I've downloaded and compiled a static version of openssl 1.0.1t on Linux
- I've set up a PKI with a ca.crt file and a server.crt/server.key keypair
- next , I run

   ~/src/openssl-1.0.1t/apps/openssl s_server -CAfile ca.crt -cert 
server.crt -key server.key  -dhparam dh2048.pem

- then, with s_client

   ~/src/openssl-1.0.1t/apps/openssl s_client -CAfile ca.crt -connect 
127.0.0.1:4433

and I always end up with

   Verify return code: 21 (unable to verify the first certificate)

If I either change s_server *or* s_client to use openssl 0.9.8 then the 
above commands work!

What am I missing here?


TIA,

JJK / Jan Just Keijser



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux