Jump to content
Not connected, Your IP: 3.141.202.187
Anon1372

Nextcloud Server behind AirVPN: Problem with SSL

Recommended Posts

I have a local Server permanently connected to Airvpn over wireguard. Now I want to access the installed Nextcloud from the internet with SSL Encryption. I use an apache2 webserver.
I opened a port and I can access it over http. But I don't know how to configure it over https. https://airdns.org/ has a Let's encrypt certificate, but in my nexcloud.conf I know only how to use a local certificate.
So how can I point the webserver to use the certificate from airdns.org?
 

Share this post


Link to post

You can't because you'd need the private key part from airdns.org to decrypt HTTPS traffic. But it's still possible to use your setup if you've got your own domain. Simply choose a subdomain to use to reach Nextcloud (ex.: docs.yourdomain.tld), and create a CNAME record for that subdomain pointing to the airdns.org subdomain. Issue your cert for docs.yourdomain.tld and HTTPS will work.


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

Don't use A/AAAA directly. Use a CNAME. That way the A/AAAA will be updated if your connection breaks and is reconnected somewhere else.


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...