Siduction Forum

Siduction Forum => Software - Support => Topic started by: dlalias2k1 on 2013/03/15, 06:42:40

Title: SSL cert for Owncloud(solved)
Post by: dlalias2k1 on 2013/03/15, 06:42:40
Hey guys,

So I'm installing Owncloud and it's going great.
However before I open up my installation to the internet, I want to put SSL in place.

Referring to the siduction manual it mentions running:
apache2-ssl-certificate
to generate self signed certs.
Which doesn't seem to be functional.

Anyone running Owncloud on Siduction and know how to generate the cert and integrate it into Owncloud?

Thanks
-D
Title: SSL cert for Owncloud
Post by: hendrikL on 2013/03/15, 07:21:22
Hi,
http://www.akadia.com/services/ssh_test_certificate.html
maybe this helps.

I did not run owncloud nor a webserver, so i couldn't say any thing about it, but if some one running appache, please check the bluewater manual-page ( http://manual.siduction.org/de/lamp-apache-de.htm#serv-ssl )

If its wrong or faulty, please fill a bug report http://chili.siduction.org/projects/siduction/issues .
The best would be to post the correct text with the report.

greetings hendrik
Title: ssl owncloud
Post by: rolandx1 on 2013/03/15, 12:01:58
mkdir /etc/apache2/myssl
cd /etc/apache2/myssl
openssl req -new > server.cert.csr
openssl rsa -in privkey.pem -out server.cert.key
openssl x509 -in server.cert.csr -out server.cert.crt  -req -signkey server.cert.key -days 365
a2enmod ssl
/etc/init.d/apache2 force-reload

nano /etc/apache2/sites-available/default

and insert:

<VirtualHost>
ServerName ******
SSLEngine on
SSLCertificateKeyFile /etc/apache2/myssl/server.cert.key
SSLCertificateFile /etc/apache2/myssl/server.cert.crt
</VirtualHost>

******* = yourserver ;)
http://mrfoo.de/uploads/code/c0f1bbdfc2411b5e8728ac7afd675687.txt
Title: RE: ssl owncloud
Post by: dlalias2k1 on 2013/03/22, 01:38:55
Thanks for the help rolandx1 and hendrikl