Tech Tip: How can you protect the key.pem and cert.pem files from being accessed by a web
PRODUCT: 4D | VERSION: 6.7 | PLATFORM: Mac & Win
Published On: August 3, 2001
If the root of your Web Services is at the database folder, you can view the content of your Certificate file by typing in the absolute URL, like ("https://www.domain.com/key.pem"). This is normal because the pem files are inside the root level. You should change the root of the Web Services to one level below. That will block the user from accessing the pem files. Starting with 4D v6.7, the default for the Web root is a folder named "WebFolder" at the same level as the database structure.