-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Support in-PVE Let's Encrypt setup #34
Comments
For the record, I think I had this working in the 'feature/letsencrypt` branch back in September but haven't merged it yet because of distractions. |
Have a look at that
The first two tasks depends on the interpreter, you want to use. I'd like python3, but default seems to be python2. For staging another URL must be used, it could be a default value and overwritten. Also |
I want to avoid the use of I think the TOS is agreed to without using |
Do you know, what steps are missing in the branch? I'm not that good in Python but maybe I can help. The tasks above are working, but you comment about idempotent is correct. |
It's been a while (dang...almost 2 years...) so I don't really remember. The branch will need to be rebased on develop first of all. A quick perusal through the script and I think it only creates an ACME account, but doesn't actually register a certificate. I think my intention there might have been to have split modules for account management and certificate management (i.e. 2 different modules with different parameters). So at least that step is missing, and this might be the only thing judging from your tasks list. |
I checked that today. There is some kind of reason, why you didn't go forward. It is easy via pvesh to manage the ACME account itself. But the domain management is not really possible with pvesh. There is:
but setting that value has no effect. You need to run also |
I've updated the branch feature/lets_encrypt. I've used it for a while via pvesh and it works like a charme. |
PVE 5.2 introduced ACME support within PVE.
https://pve.proxmox.com/wiki/Certificate_Management
An ACME management module can be created to manage ACME registration and certificate.
Process I used to generate cert:
Note that failure returns 200 OK:
Documentation should note that port 80 must be accessible from the Internet (above happened to me because firewall dropped connections) and nothing else should be running on port 80.
The text was updated successfully, but these errors were encountered: