-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating certificates locally or remote #31
Comments
There is some ongoing discussion on how to manage the PKI itself (see also here) There is nothing stopping you from mounting stateful storage into Related is #7 where i'd like to support a more flexible (user friendly) way of issueing configs based on certificate signing requests, so the openvpn operator never needs to see the private key of the user. This can already be done manually but is not for the faint of heart. |
I'm considering introducing 2 deployment modes.
Thoughts welcome |
OK, so I think that other comment here was meant to go in this issue. Vault is certainly feasible and I'm a big fan of HashiCorp in general. FWIW Vault is not an HSM, https://www.vaultproject.io/intro/vs/hsm.html, but it can integrate with one and in many cases is enough. I think scoping this is very important. I have experience doing infrastructure as code deployments for HashiCorp Vault with Terraform. So making that happen is possible but may be scope creep. Do you have a slack channel for further discussion or would you prefer to discuss here? |
BTW, a buddy of mine just pointed this out. https://www.terraform.io/docs/providers/tls/index.html It may solve your use case. |
We are working on a workflow with my colleague, @pasali, to provide a remote workflow based on your project. In this workflow we will have a 2 docker container. The first one will be named We are also using a chatops bot to communicate with We have developed a working prototype right now and will start to use this week. |
Nice to hear! How do you intend to work around the issues mentioned earlier in #31 (comment)? Keep in mind you can only mount an EBS volume once, so you can't scale the openvpn container anymore after moving to that. |
We will have two different kind of container.
Our bot is providing certificate by a private message to user. This scenario can be extended to some points where an oauth mechanism can be introduced. In case a revoking operation, configmaps are reloaded by
Encrypting would be CA key will be cool but it is already stored plain in our local boxes. For our demo system, we have completed removed it. But considering other alternatives as you suggested. What do you think? |
I like the UX aspect of provisioning users over chat, but this is a highly sensitive step in suppling the client credentials. Hope you plan to publish it and if so, looking forward to the code. |
What are difference about creating certificates on remote or locally?
I am asking this because I am considering to use statefulset with a storage. PKI related stuff can be created on local machine but certificates might be created on remote. What do you think?
The text was updated successfully, but these errors were encountered: