dogtagpki / pki

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.
https://www.dogtagpki.org
GNU General Public License v2.0
371 stars 137 forks source link

Certificate request created using CRMFPopClient has an additional newline at the end of the request #2561

Open pki-bot opened 4 years ago

pki-bot commented 4 years ago

This issue was migrated from Pagure Issue #2441. Originally filed by rpattath (@rpattath) on 2016-08-19 00:41:36:


Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Certificate request created using CRMFPopClient has an additional newline at the end of the request

Steps to Reproduce:

[root@auto-hv-02-guest02 ~]# CRMFPopClient -d certsdb -p redhat  -o
certsdb/encyption_cert_request.pem  -n "CN=Foo
User6,OU=Foo_Example_IT,O=FooBar.Org,ST=North Carolina,L=Raleigh,C=US" -a rsa
-l 2048 -u FooUser6 -r FooUser6 -b /root/kra-transport.txt
Storing CRMF requrest into certsdb/encyption_cert_request.pem

[root@auto-hv-02-guest02 ~]# cat certsdb/encyption_cert_request.pem
-----BEGIN NEW CERTIFICATE REQUEST-----
MIII8zCCCO8wggfTAgEBMIIBp4ABAqV8MHoxCzAJBgNVBAYTAlVTMRAwDgYDVQQH
EwdSYWxlaWdoMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTETMBEGA1UEChMKRm9v
QmFyLk9yZzEXMBUGA1UECxQORm9vX0V4YW1wbGVfSVQxEjAQBgNVBAMTCUZvbyBV
c2VyNqaCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMickGPjzZHTO5CI
mvYqXbZ0QOOS374+Puv+YH9q/fzUHz06icknyxxvLxRHwjLbfmz8ktez1oNyxOqD
Du6reXqLWIxVDTHIT4ND7xn28JLZ3L+40pAcpYd/p6kViosEAPTMIlp4n5PqfmTW
Ta1uFnnz017p0c/pQGX2r4sHytsfsdR/hssADU4y6EQeDbO2To/42VHn/dYA9+xq
M9YjIQF2jXP1BXpX0LbSazPRISLiCBlk6Jg2p8RaFSnydxq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J
Pbyh3Ct6tad0TMoTIDAgBggrBgEFBQcHFwQU5mnJXy7/pJCuc+ZEzD+eHZZ3nFCh
ggEUMA0GCSqGSIb3DQEBBAUAA4IBAQCozeWLDpfZomweuD+8oaOhaoBVWaw2J+DJ
6NBoD/ctChWm45/VGEG0z0helX/qXDwAsinMNQLt5w0qiF/f532kd/yAABavRfSW
ApnK6z4cbXK+S6ZsGAcF0AnhbRwPSHQNjmgzU8tkNC+2WJ33RG3N63xT3G5rFweP
Fv1S/9vey5iWUnXIyYKU+RH4HfL+VWgXhkgQDfpai//HiJ1N6yiAFklUXZJEGXbf
MKxZ0stcDT+eDgcrM/5S7Mw8CqQwQG8Eh9LTav+/RzMQ1taaXUPDTAV+5WYq2JnU
T5x+9XVaaanVL5SWu9YGVRMRfQ2yuh89gH9bVYC80QqnG9c+LwwU

-----END NEW CERTIFICATE REQUEST-----
pki-bot commented 4 years ago

Comment from rpattath (@rpattath) at 2017-02-27 13:59:10

Metadata Update from @rpattath:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-08-31 13:49:09

Metadata Update from @mharmsen:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-10-25 17:42:28

[20171025] - Offline Triage ==> 10.6

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-10-25 17:42:36

Metadata Update from @mharmsen:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2018-04-17 21:29:00

Per 10.5.x/10.6 Triage: 10.5

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2018-04-17 21:29:00

Metadata Update from @mharmsen: