SSL cert for Owncloud(solved)

Started by dlalias2k1, 2013/03/15, 06:42:40

Previous topic - Next topic

dlalias2k1

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

hendrikL

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

rolandx1

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

dlalias2k1

Thanks for the help rolandx1 and hendrikl