small comment changes

This commit is contained in:
x
2025-04-30 21:41:28 -04:00
parent 01e13ca7bd
commit bbfd4a44c3
2 changed files with 1 additions and 3 deletions
@@ -1423,7 +1423,6 @@ export const certificateAuthorityServiceFactory = ({
kmsService kmsService
}); });
// TODO(andrey): Might need tweaks after other PR merge
return { return {
certificate: leafCert.toString("pem"), certificate: leafCert.toString("pem"),
certificateChain: `${issuingCaCertificate}\n${caCertChain}`.trim(), certificateChain: `${issuingCaCertificate}\n${caCertChain}`.trim(),
@@ -1816,7 +1815,6 @@ export const certificateAuthorityServiceFactory = ({
kmsService kmsService
}); });
// TODO(andrey): Might need tweaks after other PR merge
return { return {
certificate: leafCert, certificate: leafCert,
certificateChain: `${issuingCaCertificate}\n${caCertChain}`.trim(), certificateChain: `${issuingCaCertificate}\n${caCertChain}`.trim(),
@@ -207,7 +207,7 @@ export const certificateServiceFactory = ({
let certificateChain = null; let certificateChain = null;
// TODO(andrey): Update this after the "store cert chain on cert body" PR gets merged // TODO(andrey): Update this to get certificateChain straight from the certificate body after the "store cert chain on cert body" PR gets merged
if (cert.caCertId) { if (cert.caCertId) {
const { caCert, caCertChain } = await getCaCertChain({ const { caCert, caCertChain } = await getCaCertChain({
caCertId: cert.caCertId, caCertId: cert.caCertId,