troubleshooting Question

MS Self signed certificate on Mac

Avatar of FlipTrip
FlipTripFlag for Belgium asked on
Mac OS XSSL / HTTPS
5 Comments1 Solution899 ViewsLast Modified:
Does anyone have an idea of how to install a Microsoft Self signed certificate on Mac OSX Leopard (10.5 onwards)?
I found this on the internet:
Follow these steps to add the certificate using the UNIX interface on Mac OS X:
 
1.Copy the certificate file (zie bijlage) to the root of the Macintosh hard disk drive. Do not rename the file.
2.Start the Terminal program. To do this, click Macintosh HD, click Applications, click Utilities, and then click Terminal.
3.Type “cd /” and then press Enter.
4.Type “sudo certtool i citrixCert.cer d k=/System/Library/Keychains/X509Anchors” (without the quotes) and then press Enter
5.When prompted, enter the password for the local Macintosh account.
6.To verify the certificate was added correctly, type “sudo certtool y k=/System/Library/Keychains/X509Anchors | grep bofimacbvba.local” (without the quotes) and then press Enter. If the certificate was added correctly, you will see two or more lines starting with Common Name that display the name of the server.

When I try this, I receive the following error:
"Last login: Mon Jul  5 10:15:57 on console
iMac-van-Koen-Tengrootenhuysen:~ koentgh$ cd/
-bash: cd/: No such file or directory
iMac-van-Koen-Tengrootenhuysen:~ koentgh$ sudo certtool i citrixCert.cer d k=/System/Library/Keychains/X509Anchors

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
***************************************************************
                         WARNING

The keychain you are accessing, X509Anchors, is no longer
used by Mac OS X as the system root certificate store.
Please read the security man page for information on the
add-trusted-cert command. New system root certificates should
be added to the Admin Trust Settings domain and to the
System keychain in /Library/Keychains.
***************************************************************
***Error reading certificate from file citrixCert.cer. Aborting.
iMac-van-Koen-Tengrootenhuysen:~ koentgh$ "

We are using this certificate with our Citrix Webpage. It works perfectly on all windows machines.

Please help.

Grtz
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros