/go/miniossl makes sure MinIO has a working HTTPS certificate. It reads the hostname saved by minio, and: Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Install or renew the certificate for the hostname saved by minio
/go/miniossl
Options
| Option | Effect |
|---|---|
--force |
Delete the existing certificate for the hostname and request a new one, even if the current one is valid. |
--buypass |
Request the certificate from Buypass instead of Let’s Encrypt. |
Both flags are detected anywhere in the arguments, and any other argument is ignored without an error. They can be combined.
Examples
# Install the certificate, or renew it when fewer than 30 days remain
/go/miniossl
# Replace the certificate now, even if it is still valid
/go/miniossl --force
# Use Buypass instead of Let's Encrypt (for example, after hitting Let's Encrypt rate limits)
/go/miniossl --buypass
# Check the hostname the command will use, and the certificate status
cat /etc/minio
certbot certificates
Output
The command prints plain text, not JSON. During certificate requests it also shows certbot’s own messages.
| Message | Meaning |
|---|---|
SSL certificate for <hostname> expires in <N> days. |
The days left on the current certificate. See the 0 days message. |
Installing SSL Certificates on MinIO Server Hostname <hostname>... |
A certificate exists and is being copied into MinIO. |
Can not install SSL (<hostname>) |
No certificate exists for the hostname after the request, so nothing was installed. |
Every run is also appended to /var/log/go/miniossl.log.
See the full reference at /go/miniossl and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
