Summary: | gnutls не верифицирует цепочку из двух сертификатов | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Branch 4.1 | Reporter: | redbaron <redbaron> | ||||||
Component: | libgnutls | Assignee: | Afanasov Dmitry <ender> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | qa-4.1 <qa-4.1> | ||||||
Severity: | normal | ||||||||
Priority: | P2 | ||||||||
Version: | unspecified | ||||||||
Hardware: | all | ||||||||
OS: | Linux | ||||||||
Attachments: |
|
Description
redbaron
2009-03-17 16:50:13 MSK
Перевешиваю на мантейнера. По openssl verify проходит все успешно. хотелось бы увидеть вывод команд: openssl x509 -in cacert.pem -text openssl x509 -in ldap-cert.pem -text Created attachment 3376 [details]
ldap-cert.pem
Created attachment 3377 [details]
cacert.pem
$ cat ldap-cert.txt cacert.txt > chain.pem $ certtool -e < chain.pem Certificate[0]: C=RU,ST=Tatarstan,L=Kazan,O=Florist.ru,OU=SysAdmin,CN=ldap.florist.my,EMAIL=admin@florist.ru Issued by: C=RU,ST=Tatarstan,L=Kazan,O=Florist.ru,OU=SysAdmin,CN=ca.florist.my,EMAIL=admin@florist.ru Verifying against certificate[1]. Verification output: Verified. Certificate[1]: C=RU,ST=Tatarstan,L=Kazan,O=Florist.ru,OU=SysAdmin,CN=ca.florist.my,EMAIL=admin@florist.ru Issued by: C=RU,ST=Tatarstan,L=Kazan,O=Florist.ru,OU=SysAdmin,CN=ca.florist.my,EMAIL=admin@florist.ru Verification output: Verified. также выдержка из certtool --help -e, --verify-chain Verify a PEM encoded certificate chain. The last certificate in the chain must be a self signed one. chain в даном случае это то, что подается на вход. на вход подается ldap-cert.pem, который не заканчивается самоподписанным. отсюда и "ошибка". закрываю. |