Anon1372 0 Posted ... 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
OpenSourcerer 1435 Posted ... 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. Hide OpenSourcerer's signature Hide all signatures 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
Anon1372 0 Posted ... Thanks, I got it to work with my own domain. However I used an A Record to point to the VPN IP directly and getting a cert from let's encrypt was difficult. If anyone else has the same problem, I recommend this video: https://www.youtube.com/watch?v=VjMRfF7hXIg Share this post Link to post
OpenSourcerer 1435 Posted ... 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. Hide OpenSourcerer's signature Hide all signatures 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