https://pulumi.com logo
Title
m

most-mouse-38002

01/18/2023, 3:21 PM
Using the
tls
package, it is not entirely clear to me how I am going to generate a CA and sign a certificate with it. I create the CA with
tls.NewSelfSignedCert
but I would assume I would need to use
tls.NewLocallySignedCert
for signing the certs to this CA? I have also tried with
tls.NewSelfSignedCert
but there is no obvious way to reference the CA from this function. Any help would be greatly appreciated.
b

billowy-army-68599

01/18/2023, 4:04 PM
m

most-mouse-38002

01/18/2023, 4:12 PM
Thank you! Hopefully this helps emulate my mental flow of this 👍
Thanks, that worked. Using the names from the examples cleared up my error of using the caCert as PrivateKeyPem for the signed cert.