Comments (7)
I believe this is documented here: https://github.com/smallstep/certificates/blob/master/docs/questions.md#i-already-have-pki-in-place-can-i-use-this-with-my-own-root-certificate.
Closing as done.
from certificates.
If I understand correctly, you already have a root certificate and an intermediate certificate that you've generated.
step-ca
doesn't need to generate it's own intermediate certificate, it can use one that you've already generated. If you look in the $(step path)/config/ca.json
you'll see where the root certificate and the intermediate cert/key are configured (near the top). You just need to replace those values with the ones you already have created. No need for bundling, I think. Let me know if that does/doesn't make sense.
from certificates.
How is this task going? Would love to try this project out as an intermediate CA server as I don't wish to expose my root ca private key outside of its current location :)
(I will take a look at the code and see if I can figure it out, in case I do I might send a PR later) :)
from certificates.
Hey @Johannestegner, step ca
does have the ability to bootstrap off an existing root certificate. But our recommendation in terms of how to do that will depend on some details about your infrastructure and security policy. (e.g. does the box with your root private key have internet access?). If you want to hop in our Gitter we'd be glad to talk through some possible solutions for your setup.
from certificates.
@Johannestegner: this issue is still in our backlog, if you have access to the root key of your certificate you can use step ca init --root=<root-crt> --key=<root-key>
to initialize CA configuration. You can also sign the intermediate with step certificate create --profile intermediate-ca ...
.
But f you need a CSR to sign an intermediate certificate, we still don't have that support and you will need to use openssl for that.
from certificates.
Hi! :)
I have Intermediate CA's set up already for a few different uses. The "box" with my root CA is a paper-key (my CA key gpg encrypted and signed) hehe, so it don't have much internet access! ;D
But it should be easy enough to use one of my Intermediate CA's right away I would guess?
If i Bundle together the Root and Intermediate CA in a pem-file (pub) and only use the intermediate key and use that instead of the root in the init
step, would that work as good?
I guess I could actually just try the above... hehee, I will do that, but feel free to answer for future reference! :)
from certificates.
from certificates.
Related Issues (20)
- [Bug]: Do not output terminal control codes when output is not a terminal HOT 3
- [Bug]: step ca init ignores --context flag when using --pki
- [Bug]: Get a certificate via SCEP fails with: scep post request failed: crypto/rsa: verification error HOT 8
- [Docs]: Include information on where TLS certificates for the HTTPS API are stored HOT 1
- [Bug]: Docker Container never becomes healthy HOT 3
- [Bug]: Insecure HTTP server is not available after enabling CRL endpoint HOT 3
- Regularly reload provisioners from DB
- [Bug]: wrong oidc provisioner config prevents startup, can't remove provisioner
- Adding CRLIssuer information to crlDistributionPoints HOT 1
- [Bug]: Chang the crl issuing distribution point url or add a url with http HOT 4
- [Docs]: Additional information about the database schema (MySQL) + data in plaintext instead of blobs HOT 1
- Option to use publicly signed cert vs self generated
- Ability to silent logging of /health hits HOT 2
- [Bug]: Doesn't recognize (*.subdomain.domain.com) as valid HOT 2
- [Docs]: Clarify step ca init --remote-management HOT 8
- [Bug]: Change of dns name HOT 15
- TKey integration HOT 3
- wildcard certificates with acme http-01 challenge HOT 2
- [Docs]: step ca token requires the --ca-url HOT 1
- Add an in-memory cookie jar to http.Client returned by NewClient HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from certificates.