mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 11:29:21 +00:00
small comment changes
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user