KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Resolving 401 Error - Naming PEM Files
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: August 1, 2023

When setting up the TLS protocol on your 4D database, you may come across a 401 error with the description, "Proper client SSL was not presented".

This may be because your PEM files are not named correctly. The private key should be named key.pem, whle the certificate should be named cert.pem. 4D uses this naming convention in order to locate the PEM files when setting up TLS.

You should also double check that these files are saved in the correct location depending on the server you would like to enable TLS.

More information on the TLS protocol can be found on the documentation page here: https://developer.4d.com/docs/Admin/tls/.