mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 10:28:50 +00:00
small comment changes
This commit is contained in:
@@ -1423,7 +1423,6 @@ export const certificateAuthorityServiceFactory = ({
|
||||
kmsService
|
||||
});
|
||||
|
||||
// TODO(andrey): Might need tweaks after other PR merge
|
||||
return {
|
||||
certificate: leafCert.toString("pem"),
|
||||
certificateChain: `${issuingCaCertificate}\n${caCertChain}`.trim(),
|
||||
@@ -1816,7 +1815,6 @@ export const certificateAuthorityServiceFactory = ({
|
||||
kmsService
|
||||
});
|
||||
|
||||
// TODO(andrey): Might need tweaks after other PR merge
|
||||
return {
|
||||
certificate: leafCert,
|
||||
certificateChain: `${issuingCaCertificate}\n${caCertChain}`.trim(),
|
||||
|
||||
@@ -207,7 +207,7 @@ export const certificateServiceFactory = ({
|
||||
|
||||
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) {
|
||||
const { caCert, caCertChain } = await getCaCertChain({
|
||||
caCertId: cert.caCertId,
|
||||
|
||||
Reference in New Issue
Block a user