Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 17, 2009, 08:56 AM   #1
IntrinsicMac
macrumors newbie
 
Join Date: Mar 2007
Location: Texas
Automating Installing Certificates

Hi,

I am trying to figure out how to automate the following steps to install some certficates so the members of a medical school class can access a resource on their Mac without getting bogged down in the instructions. (aka for clueless people who so far cant figure out how to follow these instructions)

I was using the package manager to move the files to the right location, but am clueless on how to automate the actual certif install.

thanks!

Quote:
2. Prepare Keychain

Launch the Keychain Access application via Applications\Utilities or Spotlight

From the File menu, choose "Add Keychain"

Navigate to /system/library/keychains and select "X509Anchors"

Enter your password as required.
[edit] 4. Install the Certificates

From the "cacerts" folder, double click each file.

It will bring up an "Add Certificates" confirmation - change the Keychain to "X509Anchors" and then select OK.

Repeat this process for the 3 remaining files.

You may close the finder window.
[edit] 5. Trust the Certificates

In your Keychain Access application, go to the X509Anchors keychain.

Find the four entries that start with "Starfield..."

Double click each one and click the arrow next to the word Trust in the pop up window.

Change the "When using this certificate:" dropdown to "Always Trust" and then close the pop up. You will be prompted to enter your password.

Repeat for the remaining three entries.
__________________
IntrinsicMac is offline   0 Reply With Quote
Old Jul 17, 2009, 10:14 AM   #2
gnasher729
macrumors G5
 
gnasher729's Avatar
 
Join Date: Nov 2005
Quote:
Originally Posted by IntrinsicMac View Post
Hi,

I am trying to figure out how to automate the following steps to install some certficates so the members of a medical school class can access a resource on their Mac without getting bogged down in the instructions. (aka for clueless people who so far cant figure out how to follow these instructions)

I was using the package manager to move the files to the right location, but am clueless on how to automate the actual certif install.
Sorry, but that is exactly the stuff that should never, ever be automated. You are trying to install root certificates. These root certificates determine what web sites will be trusted when using https. That is about the most dangerous thing to install.
gnasher729 is offline   0 Reply With Quote
Old Jul 17, 2009, 10:18 AM   #3
edesignuk
Moderator emeritus
 
edesignuk's Avatar
 
Join Date: Mar 2002
Location: London, England
Quote:
Originally Posted by gnasher729 View Post
Sorry, but that is exactly the stuff that should never, ever be automated. You are trying to install root certificates. These root certificates determine what web sites will be trusted when using https. That is about the most dangerous thing to install.
I know what you're saying, but there should be a way of deploying root certs without the need for manual intervention on workstations. Root certs can be deployed to clients with Group Policy in the Windows world for example. It would be a nightmare doing each one individually.
__________________
edesignuk is offline   0 Reply With Quote
Old Jul 17, 2009, 10:57 AM   #4
Cromulent
macrumors 603
 
Cromulent's Avatar
 
Join Date: Oct 2006
Location: The Land of Hope and Glory
You might be able to do something similar using the UNIX equivalent tools such as Kerberous although I am by no means an expert on the subject. Maybe LDAP even? Although from recollection that is more a directory service than anything else.
__________________
Neural Advance - Mac OS X, UNIX and Windows Development
Last.fm Profile | Extreme Metal Reviews
MP 4x 2.66Ghz Xeons / 6GB RAM / 640GB + 500GB + 750GB + 1TB HDDs / ATI Radeon 4870 / iPad 3
Cromulent is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Automating Keyboard Setting Changes Hylian99 OS X 0 Feb 23, 2014 01:15 PM
Automating webpage navigation JonL12345 Mac Applications and Mac App Store 2 May 23, 2013 10:09 PM
Automating an FTP Process Hummer Mac Applications and Mac App Store 7 Mar 23, 2013 11:55 AM
Help Automating Tasks on Computer ViPhone Mac Basics and Help 0 Oct 2, 2012 07:49 PM
Automating user preferences? omgitssum1 Mac Basics and Help 0 Jul 26, 2012 03:00 PM

Forum Jump

All times are GMT -5. The time now is 08:22 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC