Fix the certpath setting not being applied after JVM start