Bug 2150030
| Summary: | Certmonger SCEP renewal should not use old challenges | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Rob Crittenden <rcritten> |
| Component: | certmonger | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | --- | CC: | Adam_5Wu, bernard.rodriguez, ipa-qe, j.florkowski, j.mccanta, ksiddiqu, myusuf, nicholaus.daverin, pcech, pvoborni, rcritten, sumenon, tscherf |
| Target Milestone: | pre-dev-freeze | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | certmonger-0.79.17-2.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1990926 | Environment: | |
| Last Closed: | 2023-05-16 08:36:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1577570, 1990926 | ||
| Bug Blocks: | |||
|
Description
Rob Crittenden
2022-12-01 16:34:42 UTC
Marking the bug verified manually using nightly.
[root@master ~]# rpm -q ipa-server certmonger
ipa-server-4.9.11-3.module+el8.8.0+17608+39b88723.x86_64
certmonger-0.79.17-2.el8.x86_64
[root@master ~]# getcert request -c CA-NDES -I test111 -f /tmp/test-public111.pem
-k /tmp/test-private111.pem -N "CN=Test Cert" -D windows.test -F /tmp/ca111.pem -w -v -L 51DCD2CE9A2CBB47
New signing request "test111" added.
State GENERATING_KEY_PAIR, stuck: no.
State SUBMITTING, stuck: no.
State MONITORING, stuck: no.
[root@master ~]# openssl x509 -text -in /tmp/test-public111.pem |grep -i serial -A 1
Serial Number:
74:00:00:00:10:2a:6d:1a:90:d0:f8:36:1e:00:00:00:00:00:10
[root@master ~]# getcert resubmit -f /tmp/test-public111.pem -v -w
Resubmitting "test111" to "CA-NDES".
State GENERATING_CSR, stuck: no.
State MONITORING, stuck: no.
[root@master ~]# openssl x509 -text -in /tmp/test-public111.pem |grep -i serial -A 1
Serial Number:
74:00:00:00:11:2f:2e:e9:ec:26:bb:32:f4:00:00:00:00:00:11
Request ID 'test111':
status: MONITORING
stuck: no
key pair storage: type=FILE,location='/tmp/test-private111.pem'
certificate: type=FILE,location='/tmp/test-public111.pem'
signing request thumbprint (MD5): CF8C05DA C4A3CA99 41F05937 3DED0636
signing request thumbprint (SHA1): D5BA1696 A927F303 6DB8E469 08429535 FB057C97
CA: CA-NDES
issuer: CN=windows-AD1-CA,DC=windows,DC=test
subject: CN=Test Cert
issued: 2023-01-18 05:53:53 EST
expires: 2025-01-17 05:53:53 EST
dns: windows.test
key usage: digitalSignature,keyEncipherment
eku: iso.org.dod.internet.security.mechanisms.8.2.2
certificate template/profile: IPSECIntermediateOffline
pre-save command:
post-save command:
track: yes
auto-renew: yes
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 (certmonger bug fix and enhancement update), 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/RHBA-2023:2832 |