Jump to content
Not connected, Your IP: 3.141.2.191

Recommended Posts

Hello,


New user here with a similar problem, big fan of the service so far. It would help me if this could be dummied down a little.

Similarly to OP, this setup works for regular http:
webserver > airvpn? > airdns > user

Goal:
I would like to be able to accomplish this with https (webserver > airvpn? > airdns > cloudflare hostname > user) where each phase is encrypted.

Problem:
I am unable to register a certificate using the records in the background section. I think I misunderstood what you meant

Background:
My webserver (cosmos server) expects a hostname and allows you to use letsecrypt with your hostname (and it's subdomains) to encrypt connections with tls. Their documentation has you open a port on your router, then point your domain to your router with these records:
A  my.domain.here    my.ip.address.numbers
CNAME           *         my.domain.here


It was working in this configuration. But in an effort to increase security (not a fan of opening up my router to attacks), I'd like to use port-forwarding instead.
From the information in this thread I've ended up with these DNS records:
CNAME   my.domain.here  subdomain.airdns.org
CNAME   *                          my.domain.here

I am requesting a certificate for my.domain.here and it's subdomains (*.my.domain.here).

Error:
When I try to register a certificate I get this error:
cloudflare: failed to find zone airdns.org.: ListZonesContext command failed: Invalid request headers (6003)

Googling this error has not turned up many good results, but the error makes sense, I don't own your domain!



Questions:
First off, is this setup what you meant?
Second, is there a way I can change my records to get past this error?
Finally, do I need this at all? I can disable https all together but am not clear of the security ramifications (maybe your tls connection with the user is enough).

 

Share this post


Link to post

Please open your own thread in the future and link to information you found elsewhere.
 

16 hours ago, perryaj said:

First off, is this setup what you meant?
Second, is there a way I can change my records to get past this error?


Just follow what I wrote: Use your own domain, then set a CNAME for yourdomain.tld and *.yourdomain.tld to the DDNS name of AirVPN, then issue a certificate for yourdomain.tld.

The error you get is because you are trying to issue a cert for airvpn.org which is of course not your domain.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...