Self-Signed certificate error?

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?

  1. Host the Odk-Central locally with self-signed certificate.
  2. Upload a valid form
  3. 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'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.