# Hostinger certbot

**URL:** <https://community.letsencrypt.org/t/hostinger-certbot/218733>\
**Category:** Help\
**Created:** [May 20, 2024, 10:48pm UTC](https://community.letsencrypt.org/t/hostinger-certbot/218733 "2024-05-20T22:48:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walt-20](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/walt-20/32/80132_2.png) [@Walt-20](https://community.letsencrypt.org/u/Walt-20)\
**Post date:** [May 20, 2024, 10:48pm UTC](https://community.letsencrypt.org/t/hostinger-certbot/218733/1 "2024-05-20T22:48:15Z")

</div>

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. [crt.sh | example.com](https://crt.sh/?q=example.com)), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: [waltify.com](http://waltify.com)

I ran this command: sudo certbot --nginx -d [jenkins.waltify.com](http://jenkins.waltify.com)

It produced this output: Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:  
Domain: [jenkins.waltify.com](http://jenkins.waltify.com)  
Type: dns  
Detail: no valid A records found for [jenkins.waltify.com](http://jenkins.waltify.com); no valid AAAA records found for [jenkins.waltify.com](http://jenkins.waltify.com)

My web server is (include version): a Virtual Machine

The operating system my web server runs on is (include version): Ubuntu Server 22.04

My hosting provider, if applicable, is: Local

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): certbot 2.9.0

---

<div class="post-metadata">

**Author:** ![Bruce5051](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/bruce5051/32/76576_2.png) [@Bruce5051](https://community.letsencrypt.org/u/Bruce5051)\
**Post date:** [May 20, 2024, 11:23pm UTC](https://community.letsencrypt.org/t/hostinger-certbot/218733/2 "2024-05-20T23:23:32Z")

</div>

Hello @Walt-20, welcome to the Let's Encrypt community. 🙂

> [@Walt-20](#):
>
> Detail: no valid A records found for [jenkins.waltify.com](http://jenkins.waltify.com); no valid AAAA records found for [jenkins.waltify.com](http://jenkins.waltify.com)

Seeing the above indicates the use of [HTTP-01 challenge](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) yet you state

> [@Walt-20](#):
>
> Type: dns

I assume you thought you were trying to do [DNS-01 challenge](https://letsencrypt.org/docs/challenge-types/#dns-01-challenge), correct?

Given the DNS Records shown below the [HTTP-01 challenge](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) is not possible since the IPv4 address of `192.168.122.193` is part of [IPv4 Private Address Space and Filtering - American Registry for Internet Numbers](https://www.arin.net/reference/research/statistics/address_filters/)

> **[DNS Spy report for waltify.com](https://dnsspy.io/scan/waltify.com)**
>
> DNS Spy report of waltify.com. Start monitoring this domain with DNS Spy today!

 ![image](https://global.discourse-cdn.com/letsencrypt/original/3X/5/1/517728baed50b0b6ce05eb2530ef4a607032c652.png)

Edit:  
Also from here [User Guide — Certbot 2.11.0.dev0 documentation](https://eff-certbot.readthedocs.io/en/latest/using.html#getting-certificates-and-choosing-plugins) please search for `--preferred-challenges`.

---

<div class="post-metadata">

**Author:** ![Walt-20](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/walt-20/32/80132_2.png) [@Walt-20](https://community.letsencrypt.org/u/Walt-20)\
**Post date:** [May 20, 2024, 11:52pm UTC](https://community.letsencrypt.org/t/hostinger-certbot/218733/3 "2024-05-20T23:52:22Z")

</div>

Thanks @Bruce5051, this is my first time spinning up a VM and trying to create a server on my local machine. (figure it is cheaper than AWS)

I will give your guidance a try and let you know how it goes.

EDIT: I am unsure of whether I should do an HTTP-01 or DNS-01 challenge. I am trying to add TLS to this server.

---

<div class="post-metadata">

**Author:** ![Bruce5051](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/bruce5051/32/76576_2.png) [@Bruce5051](https://community.letsencrypt.org/u/Bruce5051)\
**Post date:** [May 21, 2024, 12:07am UTC](https://community.letsencrypt.org/t/hostinger-certbot/218733/4 "2024-05-21T00:07:20Z")

</div>

@Walt-20 do you want your site publicly accessible?  
Then the IP Address must not be in the [IPv4 Private Address Space and Filtering - American Registry for Internet Numbers](https://www.arin.net/reference/research/statistics/address_filters/). You would then be able to use the more common HTTP-01 challenge.

Now if you want a certificate containing a wildcard domain name then DNS-01 is required,  
if you want to not have the site publicly accessible (and keep the present IPv4 Address of `192.168.122.193`) then DNS-01 is only challenge left for getting a [Let’s Encrypt](https://letsencrypt.org/) issued certificate.

---

<div class="post-metadata">

**Author:** ![Walt-20](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/walt-20/32/80132_2.png) [@Walt-20](https://community.letsencrypt.org/u/Walt-20)\
**Post date:** [May 21, 2024, 12:10am UTC](https://community.letsencrypt.org/t/hostinger-certbot/218733/5 "2024-05-21T00:10:51Z")

</div>

Okay, understood. Thank you

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [June 20, 2024, 12:10am UTC](https://community.letsencrypt.org/t/hostinger-certbot/218733/6 "2024-06-20T00:10:58Z")

</div>

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