One cert for domain and domain:port

My domain is:

I ran this command: sudo certbot certonly -a standalone -d

It produced this output: success

My web server is (include version): Tomcat embedded in Spring Boot executable jar

The operating system my web server runs on is (include version): ubuntu 20.10

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 1.22.0

I have an LE cert for that works perfect. My next problem is that one of the webpages I serve up has an iframe whose content should be from, a webcam. If I use http I get a 'mixed content' error. Can I generate the cert like this?

sudo certbot certonly -a standalone -d -d

The cert was already generated.
You can check that with:
certbot certificates

What you now need to do is to use that cert with whatever service runs on port 8081 (or its' secured equivalent port).


OK, thanks. It's becoming clearer to me now. Unfortunately the webcam's server is unable to use the cert to my knowledge. I'll have to figure something else out. Perhaps a little app internally that gets the webcam image and saves it locally for the webpage to pick up... Weeee!

You could put it behind a secured reverse proxy.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.