or more generally worked with certificates and pul...
# general
s
or more generally worked with certificates and pulumi ?
b
yes! you can create certificates using the tls provider https://www.pulumi.com/registry/packages/tls/api-docs/certrequest/
s
For now I've create a private key, created a SelfSignedCertificate with isCaCertificate=true and some allowed uses, I'm a bit confused now, how do I create a server and client certificate based on the CA ?
with the CertRequest ?
b
yep, you need to sign your key with the CA's private key, so you'd use a generate a new private key, and sign it using
CertRequest
and then use
LocalSignedCert
what language are you using? I can try throw together an example
s
typescript
but I can read any 🙂
b
s
awesome !! will try asap !
thx a lot !
why do you set the private key as the parent of the CA ? isn't that only for components ?
b
@steep-cartoon-89174 no, it's also for the UI rendering too