From a passing stranger:
Error:
I can acces the
https://mydomain.com/zulu/ without problems, but when I try to publish a calender with SSL I get this error:
-----------------------------------
Calendar Publishing Error
java.sql.SQLException: Could not connect to database: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
-----------------------------------
Reason:
The Java 6 engine (used by tomcat that filemaker uses) on the osx lion cant find your ssl certificate. Java engine does not look for a certificate in the usual apache osx server keystore file. It uses its own keystore file called Cacerts. The location may vary depending on osx version. So when you connect, it cant find a certificate in the keystore file (keystore file is like a vaultwhere you can store certificates) because there is none. The solution is to import a proper signed certificate in to the Cacerts file so that it can be found by Filemaker and the Seecode.
Before you start:
1. Change filemaker seecode script (publish calander) to ssl: Yes and a correct server adress that correspond with your server certificate, yourdomain.com probably
2. Edit the zulu.xml according to ssl documents from seedcode.
http://www.seedcode.com/pmwiki/pmwiki.p ... u.SecurityBy terminal its $Sudo nano \FileMaker Server\Web Publishing\publishing-engine\cwpe-tomcat\conf\Catalina\localhost\zulu.xml
Solution:
1. Make sure you have a proper signed ssl certificate intsalled for web in server.app.
2. Export it from your keychain acces.app so that you get a file called something.cer
3. Start terminal.app
4. Run $ Sudo Keytool -import -alias yourdomain.com -file /example/folder/path/yourcertificate.cer -keystore /system/library/Java/Support/CoreDeploy.bundle/Contents/home/lib/security/Cacerts
5. Enter system password for the sudo command
6. Enter Cacerts password, default is: changeit
7. You will get a long text and a will you trust this question. Say yes.
8. It should say Certificate has been added to keystore-file
and your done.
Tips.
Sudo: gives acces as root
Keystore: File where you can store certificates
Nano: Text edit file in terminal
File paths: you can drag a file in to the terminal window to get a 100% correct adress
Alias: All certificates are called by an alias, you can choose whatever, but the same name as the certificate is good.