Fix undefined as domain name when saving custom SSL-Certs #481

Closed
opened 2026-04-05 16:20:00 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @GunniBusch on 5/20/2025

Small Description?

This pull request includes a small but important change to the WriteCustomCertsToDisk job in the Nginx/Jobs/WriteCustomCertsToDisk.ts file. The change updates the file paths used when writing custom certificates to disk to use cert.fullDomain instead of cert.domain.

Pull Request Checklist:

  • Please make sure all jobs pass before requesting a review.
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
  • Have you lint your code locally before submission?
  • Did you write tests where appropriate?

Screenshots (if appropriate):

Bildschirmfoto 2025-05-20 um 14 20 10
*Originally created by @GunniBusch on 5/20/2025* ### Small Description? This pull request includes a small but important change to the `WriteCustomCertsToDisk` job in the `Nginx/Jobs/WriteCustomCertsToDisk.ts` file. The change updates the file paths used when writing custom certificates to disk to use `cert.fullDomain` instead of `cert.domain`. * [`Nginx/Jobs/WriteCustomCertsToDisk.ts`](diffhunk://#diff-b92bdb33e5d129d5f1c9f0182ee3c6e4b18100be36d2aea4b9351edb7a06ef81L61-R66): Updated file paths for writing `.crt` and `.key` files to use `cert.fullDomain` for better accuracy and consistency ### Pull Request Checklist: - [x] Please make sure all jobs pass before requesting a review. - [x] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). - [x] Have you lint your code locally before submission? - [x] Did you write tests where appropriate? ### Related Issue? ### Screenshots (if appropriate): <img width="921" alt="Bildschirmfoto 2025-05-20 um 14 20 10" src="https://github.com/user-attachments/assets/e40c00fb-e58f-4081-80e7-5562d1d4df91" />
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#481