My domain is:
*.pontevix.co
I ran this command:
certbot certonly \
--non-interactive \
--agree-tos \
--email omar.sa..... \
--preferred-challenges dns \
--authenticator dns-porkbun \
--dns-porkbun-key <my-porkbun-api-key> \
--dns-porkbun-secret <myporkbun-api-secret> \
--dns-porkbun-propagation-seconds 60 \
--key-type rsa
-d "*.pontevix.co"
It produced this output:
This was awhile ago so not sure what to add here. the certificates were generated on the webserver for pontevix.co, but my api is hosted on a different server using a java application (https java sun server) on specific port that is accessible at play.pontevix.co.
pontevix@localhost:~$ sudo certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Found the following certs:
Certificate Name: pontevix.co
Serial Number: .........
Key Type: RSA
Domains: *.pontevix.co pontevix.co
Expiry Date: 2023-11-14 00:48:51+00:00 (VALID: 88 days)
Certificate Path: /etc/letsencrypt/live/pontevix.co/fullchain.pem
Private Key Path: /etc/letsencrypt/live/pontevix.co/privkey.pem
My web server is (include version):
Ubuntu 20 (Webserver)
java 17, package com.sun.net.httpserver (API Server)
My hosting provider, if applicable, is:
Linode (Webserver)
Novonode (API Server)
I can login to a root shell on my machine (yes or no, or I don't know):
yes (Webserver)
no (API Server)
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The only thing I have access to are ports that I can open publicly
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
The certificates were generated on the webserver
certbot 2.6.0
This is what I am not understanding. The API is reachable on chrome, but not through a python request coming from the webserver. postman is another place it is not working. this page should be reachable with a simple get request.
python version 3.9.16
certifi 2023.5.7
More Information:
I have tried fullchain.pem and cert.pem as my certificate with no luck. private key is privkey.pem
I can show the java code if requested