bignum to evp key

2022-03-03 Thread Srinivas, Saketh (c)
HI, i have EvpKeyPair from GenerateEvpKeyPair(dh_p, dh_g, &pEvpKeyPair) How can I get the public key and priv key from keypair. The below function gives them as bignums but not Evp_pkey. (EVP_PKEY_get_bn_param(pEvpKeyPair, OSSL_PKEY_PARAM_PUB_KEY, &pubKey) I want pub key and priv keys as evp_p

Re: is there any working example of how to use verify_hostname in command line?

2022-03-03 Thread pauli
Ask LibreSSL for support here.  LibreSSL it **not** OpenSSL. Pauli On 4/3/22 3:55 pm, Edward Tsang via openssl-users wrote: the openssl I'm using is in mac openssl version -a LibreSSL 2.8.3 On Thu, Mar 3, 2022 at 8:05 PM Edward Tsang wrote: Ok here is what I tried but still complaining

Re: is there any working example of how to use verify_hostname in command line?

2022-03-03 Thread Viktor Dukhovni
> On 3 Mar 2022, at 11:55 pm, Edward Tsang via openssl-users > wrote: > > the openssl I'm using is in mac > openssl version -a > LibreSSL 2.8.3 LibreSSL is not OpenSSL. This is not the right forum for LibreSSL questions. -- Viktor.

Re: is there any working example of how to use verify_hostname in command line?

2022-03-03 Thread Edward Tsang via openssl-users
the openssl I'm using is in mac openssl version -a LibreSSL 2.8.3 On Thu, Mar 3, 2022 at 8:05 PM Edward Tsang wrote: > Ok here is what I tried but still complaining about unknown options > -verify_hostname > openssl s_client -connect google.com -CAfile etc/auth/cacert.pem > -verify_hostname goog

Re: is there any working example of how to use verify_hostname in command line?

2022-03-03 Thread Viktor Dukhovni
On Thu, Mar 03, 2022 at 08:05:34PM -0800, Edward Tsang via openssl-users wrote: > Ok here is what I tried but still complaining about unknown options > -verify_hostname > openssl s_client -connect google.com -CAfile etc/auth/cacert.pem > -verify_hostname google.com -verify_return_error Perhaps y

Re: is there any working example of how to use verify_hostname in command line?

2022-03-03 Thread Edward Tsang via openssl-users
Ok here is what I tried but still complaining about unknown options -verify_hostname openssl s_client -connect google.com -CAfile etc/auth/cacert.pem -verify_hostname google.com -verify_return_error unknown option -verify_hostname usage: s_client args On Thu, Mar 3, 2022 at 4:10 PM Viktor Dukhovni

Re: is there any working example of how to use verify_hostname in command line?

2022-03-03 Thread Viktor Dukhovni
> On 3 Mar 2022, at 6:09 pm, Edward Tsang via openssl-users > wrote: > > openssl s_client -CApath . -CAfile ./cacert.pem -verify_hostname example.com > > All I get is "unknown option -verify_hostname > usage: s_client args" > > Have tried combinations of that and check out of doc... really no

is there any working example of how to use verify_hostname in command line?

2022-03-03 Thread Edward Tsang via openssl-users
Hi, I am having a very hard time to get the command line working. Basically just trying to verify hostname via opoenssl command line: openssl s_client -CApath . -CAfile ./cacert.pem -verify_hostname example.com All I get is "unknown option -verify_hostname usage: s_client args" Have tried comb