glasshalffull
October 6th, 2021, 06:05 PM
Hi,
I installed Ubuntu Server edition 20.04 on a home computer and during the setup of Ubuntu Server I included the Nextcloud snap as part of the installation process.
Nextcloud is the only thing my Ubuntu Server is running, and the site is launching from a snap folder.
My nextcloud instance is working fine, and is running beautifully (kudos to the Ubuntu Server team to making this such a painless process).
I can access my nextcloud site fine on my local network and from outside of home using my public static IP, the only issue I have is lack of SSL.
All I need to do to get the SSL up and running is create a publicly accessible pki validation folder with a file in it to get my SSL cert.
I am new to Linux and to the terminal and I am really struggling to do this simple step. Maybe nextcloud locks folders and files down really tight?
What I need help with is the following questions;
Where do I put the publicly accessible /.well-known/pki-validation/ folder and pki file? Do I put it in one of the snap folders e.g /snap/nextcloud/current/htdocs/ , there is no /var/www/ folder on this server, do I create a /var/www/ folder
Once I have the correct answer to the above question I then need to copy the file from my ~/Downloads folder to that correct location
I assume there might be some commands or .htaccess edits to nextclouds .htaccess file as well? If so I would like some advice here too.
Hope this all makes sense, on paper it seems like a really simple setup. Public static IP's seem to freak users out when mentioned but they are quite common for home users in Australia, there are several ISP's here that include them as part of their plans (not an optional extra). These plans are often also cheaper than those from the biggest ISP's.
So don't be surprised if you hear of other Australian noob users asking similar questions here.
Also any prayers for myself and my fellow countrymen would be much appreciated, things are pretty dire here at the moment. (https://web.archive.org/web/20210903100812/https://www.iflscience.com/policy/australias-new-police-powers-allow-them-to-control-social-media-accounts-delete-data/)
I installed Ubuntu Server edition 20.04 on a home computer and during the setup of Ubuntu Server I included the Nextcloud snap as part of the installation process.
Nextcloud is the only thing my Ubuntu Server is running, and the site is launching from a snap folder.
My nextcloud instance is working fine, and is running beautifully (kudos to the Ubuntu Server team to making this such a painless process).
I can access my nextcloud site fine on my local network and from outside of home using my public static IP, the only issue I have is lack of SSL.
All I need to do to get the SSL up and running is create a publicly accessible pki validation folder with a file in it to get my SSL cert.
I am new to Linux and to the terminal and I am really struggling to do this simple step. Maybe nextcloud locks folders and files down really tight?
What I need help with is the following questions;
Where do I put the publicly accessible /.well-known/pki-validation/ folder and pki file? Do I put it in one of the snap folders e.g /snap/nextcloud/current/htdocs/ , there is no /var/www/ folder on this server, do I create a /var/www/ folder
Once I have the correct answer to the above question I then need to copy the file from my ~/Downloads folder to that correct location
I assume there might be some commands or .htaccess edits to nextclouds .htaccess file as well? If so I would like some advice here too.
Hope this all makes sense, on paper it seems like a really simple setup. Public static IP's seem to freak users out when mentioned but they are quite common for home users in Australia, there are several ISP's here that include them as part of their plans (not an optional extra). These plans are often also cheaper than those from the biggest ISP's.
So don't be surprised if you hear of other Australian noob users asking similar questions here.
Also any prayers for myself and my fellow countrymen would be much appreciated, things are pretty dire here at the moment. (https://web.archive.org/web/20210903100812/https://www.iflscience.com/policy/australias-new-police-powers-allow-them-to-control-social-media-accounts-delete-data/)