Fabians Bookmarks
  • Fabians Bookmarks
  • Tag cloud
  • Daily
  • RSS Feed
  • Login
Delete   Set public   Set private   Add tags   Delete tags
  Add tag   Cancel
  Delete tag   Cancel
17527 shaares · 14141 private links
Filters
Links per page
20 50 100
1 result tagged carddav

How to create a self-signed root CA certificate

To access and sync my Owncloud's calendar and contacts with my Android
phone in a (more-or-less) secure manner through HTTPS, I needed to get a
SSL/TLS certificate. Or precisely: a self-signed root CA (Certification
Authority) certificate.

After searching for Howtos and creating a bunch of CA certificates,
normal certificates, signing them, signing them vice-versa etc. -- yes,
I don't really have a clue -- I mostly run into one of these errors:

  • when signing normal cert with CA cert: "not self-signed"
  • when self-signing normal cert with itself: "no Basic Constraint CA flag"

Then I finally found (https://langui.sh/2009/01/18/openssl-self-signed-ca/)
this one-liner that does the job just fine::

$ openssl req -newkey rsa:2048 -days 365 -x509 -nodes -out root.cer

Make sure to use the domain name you want to use this certificate on as
the Common Name (CN).

This creates a certificate file (named as defined in the -out parameter)
and a key file, named 'privkey.pem' in my case. I had to upload this to
in the admin interface of my shared hoster, and 5 minutes later the
certificate was installed and accepted by DAVDroid, the Android syncing
app.

owncloud openssl ssl security webdav caldav carddav ca certificate
August 25, 2014 at 11:14:47 GMT+2
https://gist.github.com/hellp/fd45862cd75114702e3a
Filters
Links per page
20 50 100
By @fabian@floss.social · Powered by Shaarli
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community