[linux] Problem s verifikaciou openssl certifikatov

Matus UHLAR - fantomas uhlar na fantomas.sk
Čtvrtek Říjen 21 08:59:52 CEST 2010


On 21.10.10 01:40, Peter Viskup wrote:
> Po instalovani certifikatov som sa snazil verifikovat ich validnost, no  
> dostavam chybove hlasky:
>
> # openssl s_client -CAfile cacert.pem -connect www.firma.sk:443
> CONNECTED(00000003)
> depth=0  
> /C=SK/ST=Slovakia/L=Bratislava/O=firma.sk/OU=Webhosting/CN=*.firma.sk
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0  
> /C=SK/ST=Slovakia/L=Bratislava/O=firma.sk/OU=Webhosting/CN=*.firma.sk
> verify error:num=27:certificate not trusted
> verify return:1
> depth=0  
> /C=SK/ST=Slovakia/L=Bratislava/O=firma.sk/OU=Webhosting/CN=*.firma.sk
> verify error:num=21:unable to verify the first certificate
> verify return:1
> ---
> Certificate chain
>  0 s:/C=SK/ST=Slovakia/L=Bratislava/O=firma.sk/OU=Webhosting/CN=*.firma.sk
>    i:/C=SK/ST=Slovakia/O=CAfirma.sk/OU=Certification Authority/CN=FIRMA CA
> ---
> <nejake riadky tu>


nevidim tu poskytnuty podpisany certifikat CAfirma.sk nejakou inou autoritou
ktoru openssl pozna. Takto by musel klient mat nainstalovany jej certifikat
co zrejme nema.

CAfirma.sk je tvoja vlastna ci externa certifikacna autorita?
-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Saving Private Ryan...
Private Ryan exists. Overwrite? (Y/N)


Další informace o konferenci linux