Is it required to set ERPNext to production mode for ssl?

For some reason I can’t seem to use the SSL certificate I’ve generated using Certbot and DNS Validation.

My ERPNext is currently in development mode, however despite of this I still want to make it SSL-certified. I’ve followed this step-by-step tutorial of generating Lets Encrypt by the way:

Just turn on the dns multinantent and run

bench setup nginx

and run certbot command and restart all services