Environment
Novell iFolder 3.x
Situation
Running
shows no certificates in the Mono keystore for trusted
certificates. However, when running
no certificate is added and the command fails with the message
:
certmgr -list -c -m Trust
certmgr -ssl ldaps://ldapserver:636 -c -m Trust
This certificate is already in the AddressBook store.
No certificate were added to the stores.
Resolution
To resolve this, ensure the following directories are empty :
/root/.config/.mono/certs/AddressBook/
/root/.config/.mono/certs/Trust/
/usr/share/.mono/certs/Trust/
/var/lib/wwwrun/.config/.mono/certs/Trust/
certmgr -ssl ldaps://localhost:636 -c -m Trust
certmgr -ssl https://localhost:443 -c -m Trust
certmgr -list -c -m TrustIf no certificates appear in the list :
- Check the above directories. There should be a certificate in the/root/.config/.mono/certs/Trust/directory.
- Copy this into both the/usr/share/.mono/certs/Trust/and/var/lib/wwwrun/.config/.mono/certs/Trust/directories.
- After copying the certificate into these directories, check
that the certificate shows up using the certmgr command :
certmgr -list -c -m Trust
- Restart any Mono processes by stopping and starting Apache.