[TAV-726] Mac OS X plist file improvements Created: 2008-02-25  Updated: 2008-03-28  Resolved: 2008-03-28

Status: Closed
Project: myGrid
Component/s: None
Affects Version/s: 1.7
Fix Version/s: 1.7.1

Type: Improvement Priority: Major
Reporter: David Withers (Inactive) Assignee: David Withers (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File Info.plist    


From Pieter.Neerincx@wur.nl

I was wondering if the following things can be changed in / added to the plist file for Taverna:

I see this warning with Console.app: "Warning: Incorrect memory size qualifier: mm Treating it as m".
Changing Root->Java->VMOptions from -Xmx300mm to -Xmx300m removes the warning...

In order to use SSL certificates for connections to resources over HTTPS I used to add them to my Java keystore on Linux, but this doesn't work for Mac OS X. Apple had to do things differently and uses the "Keychain" for all kinds of security including Java keystores. Basically they wrote an implementation of a Java keystore that uses the Keychain for its storage. This Apple specific keystore type is called KeychainStore. To make Taverna work with certificates in a users's keychain the following must be added to the Root->Java->Properties section:

javax.net.ssl.trustStoreProvider = Apple
javax.net.ssl.trustStoreType = KeychainStore

(You don't have to specify the path to the keychain.) In addition the user has to import the certificates in it's "login" keychain off course and for self-signed certificates you'll have to import them in the "X509Anchors" keychain too. Both can be done using Keychain Access.app

See the attached info.plist file for an example.

Comment by David Withers (Inactive) [ 2008-02-25 ]

I've changed -Xmx300mm to -Xmx300m. I'll investigate the trustStore to make sure this doesn't cause any problems.

Generated at Sat Sep 19 21:13:50 BST 2020 using JIRA 6.1.2#6157-sha1:98c729218aad6de1537eb8e98889ee5562c90d96.