jdang
April 24, 2025, 8:58pm
1
1. What is the issue? Please be detailed.
Host the Odk-Central locally with self-signed certificate.
Trying to preview a form: Gor the error: self-signed certificate
2. What steps can we take to reproduce this issue?
Host the Odk-Central locally with self-signed certificate.
Upload a valid form
Preview the selected form
3. What have you tried to fix the issue?
Nothing yet
4. Upload any forms or screenshots you can share publicly below.
thanks,
Jdang
This is an advanced configuration option. Did you follow all the steps in the docs? https://docs.getodk.org/central-install-digital-ocean/#using-a-custom-ssl-certificate
I would also read through this thread and the threads it links:
I have spent a whole day googling not to understand this:
Generate appropriate fullchain.pem (-out) and privkey.pem (-keyout) files.
Says the ODK Doc. Now I have ca.crt, ca.key, myform.key and myform.crt, and I know how to convert these to pem and concatenate private and public. But I am lost why I need fullchain.pem (contains private+public) and privkey.pem(private of what)?
I'm pretty sure Enketo won't work with a self-signed cert. You could disable cert verification , but it's a horrible idea as far as security is concerned.
I'm also pretty sure Collect won't work with a self-signed cert unless you bundle it with a custom build of the app. You might be able to use ngrok (or something similar on the server) though.