Ubuntu Selfsigned Certificate

I am trying to encrypt my Kibana dashboard via certbot.
Its giving me the error because i am using local domain, and not a valid public suffix.
What command should i use to get https on my local domain

My domain is: dmarc.kkrt.local

I ran this command: sudo certbot --nginx

It produced this output: An unexpected error concurred: Error creating new order :: cannot issue for ‘‘dmarc.kkrt.local’’ domain name does not end with a valid public suffix (TLD)

I can login to a root shell on my machine: Yes

I’m using a control panel to manage my site: Kibana (can visit it with http)

The version of my client is: certbot 0.27.0

Hi @KKRT69

simple answer: You can’t create a public trusted certificate without a valid public suffix.

Private domain -> private certificate.

That’s not a Certbot or Letsencrypt restriction.

That’s a global rule. No CA can create such a certificate.

1 Like

Ah okay,
That explains.

So Certbot isn’t able to help me here?
What should i do to get https on my dmarc.kkrt.local?

Create a self-signed certificate as you’ve mentioned in the title of this topic.

But without certbot right?
What should i use for self-signed certificate/

make-ssl-cert generate-default-snakeoil

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