Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RA and CA logs differ for CertProfileName and CertProfileHash #7848

Open
pgporada opened this issue Nov 26, 2024 · 0 comments
Open

RA and CA logs differ for CertProfileName and CertProfileHash #7848

pgporada opened this issue Nov 26, 2024 · 0 comments
Labels
starter Ideal issues for folks getting familiar with Boulder

Comments

@pgporada
Copy link
Member

pgporada commented Nov 26, 2024

There's a discrepancy between the field names that the RA and CA use for multiple certificate profiles.

Example:

boulder-ra[50313]: 9IC1bQA [AUDIT] Certificate request - successful JSON={"ID":"X","Requester":123,"OrderID":456,"SerialNumber":"030000000000000000000000000000000000","VerifiedFields":["subject.commonName","subjectAltName"],"CommonName":"example.net","Names":["example.net"],"NotBefore":"2024-11-26T15:00:00Z","NotAfter":"2025-02-24T15:00:00Z","RequestTime":"2024-11-26T16:00:00.00000014Z","ResponseTime":"2024-11-26T16:00:00.000000Z","Authorizations":{"example.net":{"ID":"789","ChallengeType":"http-01"}},"CertProfileName":"defaultBoulderCertificateProfile","CertProfileHash":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
boulder-ca[2619024]: v-OalA4 [AUDIT] Signing cert JSON={"IssuanceRequest":{"PublicKey":"aabc123","SubjectKeyId":"123","Serial":"030000000000000000000000000000000000","NotBefore":"2024-11-26T15:00:00Z","NotAfter":"2025-02-24T15:00:00Z","CommonName":"example.net","DNSNames":["example.net"],"IncludeMustStaple":false,"IncludeCTPoison":false},"Issuer":"E6","OrderID":789,"Profile":"defaultBoulderCertificateProfile","ProfileHash":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","Requester":123,"Result":{}}

Here's a slightly better view of just the JSON portion of the log.
RA:

{
  "ID": "X",
  "Requester": 123,
  "OrderID": 456,
  "SerialNumber": "030000000000000000000000000000000000",
  "VerifiedFields": [
    "subject.commonName",
    "subjectAltName"
  ],
  "CommonName": "example.net",
  "Names": [
    "example.net"
  ],
  "NotBefore": "2024-11-26T15:00:00Z",
  "NotAfter": "2025-02-24T15:00:00Z",
  "RequestTime": "2024-11-26T16:00:00.00000014Z",
  "ResponseTime": "2024-11-26T16:00:00.000000Z",
  "Authorizations": {
    "example.net": {
      "ID": "789",
      "ChallengeType": "http-01"
    }
  },
  "CertProfileName": "defaultBoulderCertificateProfile",
  "CertProfileHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}

CA:

{
  "IssuanceRequest": {
    "PublicKey": "aabc123",
    "SubjectKeyId": "123",
    "Serial": "030000000000000000000000000000000000",
    "NotBefore": "2024-11-26T15:00:00Z",
    "NotAfter": "2025-02-24T15:00:00Z",
    "CommonName": "example.net",
    "DNSNames": [
      "example.net"
    ],
    "IncludeMustStaple": false,
    "IncludeCTPoison": false
  },
  "Issuer": "E6",
  "OrderID": 789,
  "Profile": "defaultBoulderCertificateProfile",
  "ProfileHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "Requester": 123,
  "Result": {}
}
@aarongable aarongable added the starter Ideal issues for folks getting familiar with Boulder label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
starter Ideal issues for folks getting familiar with Boulder
Projects
None yet
Development

No branches or pull requests

2 participants