This is most likely because when using derby, security: tls=true has been set, which is not in the new Postgres database.
You cat get the setting in ${JFROG_HOME}/artifactory/var/etc/access/access.config.latest.yml
You cat get the setting in ${JFROG_HOME}/artifactory/var/etc/access/access.config.latest.yml