Skip to content

Troubleshooting

Laurens Blanckenborg edited this page Apr 16, 2017 · 1 revision

Troubleshoot errors

If errors occur, refer to the PJAC's log file for details about the error. The default log file location is:

  • Unix-ish OS: /var/log/acme/acme.log
  • Windows: The directory var\log\acme is by default created on the same drive PJAC is located. I.e. if acme_client.jar is located in C:\Tools\PJAC, the location of the log file will be:
    C:\var\log\acme\acme.log.

Use the option --log-dir to change the location of the log file. The level of detail of the logging can be increased with the option --log-level.

Missing CA certificate

If one of the following exceptions is written to the log you need to add the CA's certificate to the JRE Certificate Store. Only the latest versions of Java 8 have the Let's Encrypt CA certificates already installed in the Certificate Store.

Caused by: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target
Caused by: sun.security.validator.ValidatorException: 
PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target

See http://magicmonster.com/kb/prg/java/ssl/pkix_path_building_failed.html for more information on how to import your CA's certificate to your JRE Certificate Store.