The Dogtag Certificate System is an enterprise-class Certificate Authority (CA) which supports all aspects of certificate lifecycle management, including key archival, OCSP and smartcard management.
Description of problem:
CMCRequest output requires clean up, it display debug log messages. The debug messages should only be displayed in verbose mode.
Version-Release number of selected component (if applicable):
pki-tools-10.5.1-5.el7.x86_64
How reproducible:
Steps to Reproduce:
Run
# CMCRequest /tmp/cmc.dir_server_pkcs10.cfg
cert/key prefix =
path = /opt/rhqa_pki/certs_db
CryptoManger initialized
token internal logged in...
got signerCert: CA agentV
createPKIData: begins
k=0
createPKIData: format: pkcs10
PKCS10: PKCS10: begins
PKCS10: PKCS10: ends
selfSign is false...
signData: begins:
getPrivateKey: got signing cert
signData: got signer privKey
createSignedData: begins
getSigningAlgFromPrivate: begins.
getSigningAlgFromPrivate: found signingKeyType=RSA
getSigningAlgFromPrivate: using SignatureAlgorithm: RSASignatureWithSHA256Digest
createSignedData: digest created for pkidata
createSignedData: digest algorithm =RSASignatureWithSHA256Digest
createSignedData: building cert chain
signData: signed request generated.
getCMCBlob: begins
getCMCBlob: generating signed data
The CMC enrollment request in base-64 encoded format:
MIIMSgYJKoZIhvcNAQcCoIIMOzCCDDcCAQMxDzANBglghkgBZQMEAgEFADCCAp0G
CCsGAQUFBwwCoIICjwSCAoswggKHMAAwggJ9oIICeQIBATCCAnIwggFaAgEAMC0x
KzApBgNVBAMMIm5vY3AxMS5pZG0ubGFiLmVuZy5yZHUyLnJlZGhhdC5jb20wggEi
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCx5ZKqO34stU0U3fizdY+Uo7YY
EDt4WZkLBE8glY6PAezVOCJ+m1lU7c/nogDqfYxkv319NGVFa5kS5jHZUM1ejSQr
N8KJradCFqW7fLlGzsFzsiZoEmmaTemeX8Mb8rOWTtErpUQjnU43Ya9MW8CpPjgl
kvi+hAbye9cyx+6nstZjbiw5o/GOo+CB1TBmAam3MxKtZPRcqma/4oMKItLiRruH
bsNnW8E0DBfYJiBhvaxRMAXrvQKyCLtd2f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WFha2tpYW5nMR8wHQYDVQQDDBZDQSBTaWduaW5nIENlcnRpZmljYXRlAgQJZZn+
MA0GCWCGSAFlAwQCAQUAoEowFwYJKoZIhvcNAQkDMQoGCCsGAQUFBwwCMC8GCSqG
SIb3DQEJBDEiBCB5vIMBsxVnBGGlNSvBQYybhggoizcke9qn03Y2sED6HzANBgkq
hkiG9w0BAQsFAASCAQAcAGWbVAHbhS4zjN74qUe4oarBvPsDhOjB3r3UB0OLuiNO
FZHJokWO+vj6MB8BL1r05/ZeAg8bsFP6y9pzib6pn2hiGzi7rjTqcKMA7t/47qZm
40Gsa2ktPqddCiST+IJ+y5Z/WIQ+jriCTHDmerfHeLK6Zout3bLHdrD8X1hrXshM
Cga9p24QFZgIJ+rgMZj3Lx8DGINUWRDrzU49oJc4LQJHq7K/kByePyoIhYxphxUw
kT5ADR+TBI/wYw0Kmi9DU37Ilosx0sc9k0btEt+pnK2sCqUgERL4lPCjKbVT0DBa
X+YQXyrheKOuim+yY0XHzUfdR5Cp2s6lwi6r7oFw
The CMC enrollment request in binary format is stored in /tmp/cmc.dir_server_pkcs10.req
Actual results:
CMCRequest output display debug messages.
Expected results:
Debug messages should be displayed in verbose mode only.
This issue was migrated from Pagure Issue #3158. Originally filed by cipherboy (@cipherboy) on 2020-03-16 12:33:44:
Description of problem: CMCRequest output requires clean up, it display debug log messages. The debug messages should only be displayed in verbose mode.
Version-Release number of selected component (if applicable): pki-tools-10.5.1-5.el7.x86_64
How reproducible:
Steps to Reproduce:
Actual results: CMCRequest output display debug messages.
Expected results: Debug messages should be displayed in verbose mode only.
Additional info: