![]() ![]() SSLCertificateKeyFile /etc/apache2/ssl/server. SSLCertificateFile /etc/apache2/ssl/Your_Sitename.crt SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.keyĮdit these two lines so they reference your purchased SSL certificates we created above SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem Scroll down until you find two lines that look like this On line 2 of this file add the following line without the "" Sudo nano /etc/apache2/sites-available/nf If you are not a fan of DropBox or Google Drive, then OwnCloud is a cool alternative. Next you need to tell Apache to use your certificates in place of the self signed certificates.Įdit the the nf file to achieve this Owncloud is a market-leading online file sharing system that lets you back up and shares your files with ease. Open the crt files your provider issued you with a text editor and paste the entire contents into the matching files you created on your server. Sudo nano /etc/apache2/ssl/Your_SiteName.crt Sudo nano /etc/apache2/ssl/DigiCertCA.crt Import your new Cert file by creating 2 new text files who's names match the certs your provider issued If you are using a Docker, you can also find thedockable imagefrom OwnCloud on GitHub. Make a directory to store your certificate files inĬopy the server.key file created above to the ssl cert folder Select the menu button in the upper-left corner, then Market. There are a variety of OwnCloud agents available on the OwnCloud official website. return to this step to finish the certificate install While waiting you can continue with the rest of the install in this how-to. DietPi will install ownCloud and then reboot (yes, DietPi really likes to reboot). On the following screen, select OK and hit Enter again to indicate that you’d like to begin. Navigate to Install Go > Start installation for selected software and press Enter. Purchase your certificate, this will take a day or two as you go through the validation process. After selecting ownCloud, you’ll be sent back to the menu you started from. Once completed open the server.key file with nanoĬopy the entire contents you will need them for the SSL cert Request when purchasing the certificate from your SSL provider. Openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csrįollow the steps on screen to provide the required info Change localhost to your server IP address or. Now access the ownCloud directory on a web browser as below. to owncloudlocalhost IDENTIFIED BY password mysql> FLUSH PRIVILEGES mysql> quit Step 4 Install ownCloud with Web Installer. A 1 year cert is approx $200 USįirst on your server via SSH create your certificate request with the following command mysql -u root -p Enter password: mysql> CREATE DATABASE owncloud mysql> GRANT ALL ON owncloud. For a production install you will want to purchase and install a paid trusted SSL certificate. You can skip this step if you plan to use the Self Signed Certificate and don't care about the security warnings (For example a test lab).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |