openssl ocsp(responder) cmd is giving error for ipv6

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

 



HI All, 
        I tried openssl ocsp for ipv6 and got the error message for the OCSP.

  IPv6 address with the "[]" bracket. 
--------------------------------------------------- 
openssl ocsp -url http://[2001:DB8:64:FF9B:0:0:A0A:285E]:8090/ocsp-100/ -issuer /etc/cert/ipsec/cert0/ca.crt -CAfile /etc/cert/ipsec/cert0/ca.crt -cert /etc/cert/ipsec/cert0/cert.crt
Error creating connect BIO
140416130504448:error:20088081:BIO routines:BIO_parse_hostserv:ambiguous host or service:crypto/bio/b_addr.c:547:

IPv6 address without the "[]" bracket.
--------------------------------------------------
openssl ocsp -url http://2001:DB8:64:FF9B:0:0:A0A:285E:8090/ocsp-100/ -issuer /etc/cert/ipsec/cert0/ca.crt -CAfile /etc/cert/ipsec/cert0/ca.crt -cert /etc/cert/ipsec/cert0/cert.crt
Error connecting BIO
Error querying OCSP responder

i am using openssl version : openssl version
OpenSSL 1.1.1h  22 Sep 2020

Can anybody help me to find out if it is the correct way to use it?. 

Thanks,
Perumal.
 

[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