Skip to content
grinapo edited this page Oct 12, 2011 · 3 revisions

work in progress

Prologue

    • Do not try to use self-signed certificates! **
Diaspora* try to verify all certificates against the known certificate chains, and **every** failed checks fail **silently** and with **no sign in the debug logs**. If you want to connect other pods you have to use globally verifiable certs. (I do not want to advertise any service but StartSSL is free and their cert chain is globally accepted; if anyone knows any other free and globally accepted authority feel free to tell. [CACert])

SSL setup can be tricky

  • ssl setup requires a globally verifiable crt, self signed won't do
  • application.yml contains most of the setup
    • pod_url should contain https:// and proper PODURL address
    • set up proper proxying in webserver (forward tcp/443 to localhost:3000)
    • ca_file should be able to verify your cert:
      • openssl verify -CApath /dev/null -CAfile ca-certificates.crt yourpod.crt - should give you OK
    • if you use socket_secure then socket_cert_chain_location should verify your cert and contain the cert for your key
If you change your pod from http: to https: you have to fix every entry in your configs **and** your database.

Webfinger

Your public/webfinger directory should be empty. The files are generated on the fly if there is no matching file there, and if there is, the files will be used instead.

Check your webfinger by retrieving PODURL/.well-known/host-meta it should point to proper https://PODURL

Check hcard in the response file, it should point to https://PODURL

Clone this wiki locally