Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ubogdan/esxicertificatemanager
Provision ESXi ssl certificate using Let's Encrypt DNS challenge with dns hosted on cPanel .
https://github.com/ubogdan/esxicertificatemanager
Last synced: 1 day ago
JSON representation
Provision ESXi ssl certificate using Let's Encrypt DNS challenge with dns hosted on cPanel .
- Host: GitHub
- URL: https://github.com/ubogdan/esxicertificatemanager
- Owner: ubogdan
- License: mit
- Created: 2019-08-29T09:52:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-04T16:14:15.000Z (about 1 year ago)
- Last Synced: 2024-11-18T06:55:23.053Z (2 months ago)
- Language: Go
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Usage
Note: this is work in progress with possible overnight breaking changes.1. Install for Go by using:
```
go get github.com/ubogdan/ESXiCertificateManager
```2. Register Let's Encrypt Account
```
~/go/bin/ESXiCertificateManager init [email protected]
```3. Use it
via cmd line params
```
~/go/bin/ESXiCertificateManager -wu=root -wp=test -cd=gost.com -cu=cUser -cp=cPassw esx.fqdn.hostname
```via environment variables
```
export VMWARE_USER="root"
export VMWARE_PASS="root-pw"
export CPANEL_HOST="cpanel-fqdn"
export CPANEL_USER="cpUsername"
export CPANEL_PASS="cpPassword"~/go/bin/ESXiCertificateManager esx.fqdn.hostname
```.letsecnrypt file format . I will add the code for generating it later.
```
-----BEGIN ACME INFO-----
uri: https://acme-v01.api.letsencrypt.org/acme/reg/123123123
21LDIcpr0ULZTjbpuFeEw8V+21LDIcpr0ULZTjbpuFeEw8
.........
21LDIcpr0ULZTjbpuFeEw8V+21LDIcpr0ULZTjbpuFeEw8V
ywtcvehqJaGd3AQBQa+WGF2NMKJYo/qm/w==
-----END ACME INFO-----
```