You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have been working on a script which can either import an existing CA, or create one and then use that to sign a server or client certificate.
I have got the bit working where I create a CA and use that to sign a server cert, but what I am trying to do now is to load a CA I have created previously from a pem file and use that to sign a new server cert.
Looking at the docs I thought maybe I should be able to use RemoteKeyPair::public_key to read it but I couldn't figure out how it works. But I may be looking in the wrong place.
The text was updated successfully, but these errors were encountered:
You can find some code for your use case in #111, and together with #110 there is probably enough issues to track better docs/examples for creating CAs. It's interesting that these questions are so popular lately :).
The RemoteKeyPair is probably not what you want, it is mainly meant for when you have access to a hsm or such and cannot load the key into memory directly.
Hi,
I have been working on a script which can either import an existing CA, or create one and then use that to sign a server or client certificate.
I have got the bit working where I create a CA and use that to sign a server cert, but what I am trying to do now is to load a CA I have created previously from a pem file and use that to sign a new server cert.
Looking at the docs I thought maybe I should be able to use
RemoteKeyPair::public_key
to read it but I couldn't figure out how it works. But I may be looking in the wrong place.The text was updated successfully, but these errors were encountered: