I want to generate an SSL certificate using Certbot for a subdomain which points to a Docker Registry server which is not accessible from outside.
Since I cannot use LetsEncrypt DNS challenge the idea is to place Certbot on a server which is publicly accessible and generate the certificate there and then move it to the Docker Registry server.
Can Certbot be used in such way?