Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1375463 - doc update: certtool's manpage does not mention it cannot handle PKCS#11 URLs for certain options
doc update: certtool's manpage does not mention it cannot handle PKCS#11 URLs...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnutls (Show other bugs)
7.3
All Linux
medium Severity medium
: rc
: ---
Assigned To: Nikos Mavrogiannopoulos
Hubert Kario
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-13 04:26 EDT by Stanislav Zidek
Modified: 2017-08-01 04:48 EDT (History)
1 user (show)

See Also:
Fixed In Version: gnutls-3.3.26-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-01 04:48:22 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2292 normal SHIPPED_LIVE Moderate: gnutls security, bug fix, and enhancement update 2017-08-01 08:39:15 EDT

  None (edit)
Description Stanislav Zidek 2016-09-13 04:26:10 EDT
Description of problem:
Some options of certtool should accept PKCS#11 URLs according to man page (e.g., --load-ca-certificate).

Version-Release number of selected component (if applicable):
gnutls-3.3.24-1.el7

How reproducible:
always

Steps to Reproduce:
1. export GNUTLS_PIN=1234; export GNUTLS_SO_PIN=1234
2. softhsm2-util --init-token --free --label softhsm --pin $GNUTLS_PIN --so-pin $GNUTLS_SO_PIN
3. p11tool --so-login --batch --label '$CA_LABEL' --mark-trusted --mark-ca --load-certificate <<CA cert>> --write '<<TOKEN>>'
4. certtool --verify --provider /usr/lib64/pkcs11/libsofthsm2.so --load-ca-certificate '<<CA cert PKCS11 URL>>' <cert.pem (signed by CA)

Actual results:
Could not open <<CA cert PKCS11 URL>>

Expected results:
Certificate verified.

Additional info:
Problem is same with system and default trust store when accessed through PKCS11 URLs.
Comment 11 errata-xmlrpc 2017-08-01 04:48:22 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:2292

Note You need to log in before you can comment on or make changes to this bug.