Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Dec 15, 2017 10:17 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Code-Signing and Windows 7
PostPosted: Mon Apr 01, 2013 9:25 am 
Offline

Joined: Fri Jul 21, 2006 12:28 am
Posts: 509
swort wrote:
I have an apple id cert, gonny try it today.

The world waits with bated breath...

_________________
Regards,
Carl
Capaho Web
http://www.capaho.com


Top
 Profile  
Reply with quote  
 Post subject: Re: Code-Signing and Windows 7
PostPosted: Mon Apr 01, 2013 9:58 am 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
capaho wrote:
swort wrote:
I have an apple id cert, gonny try it today.

The world waits with bated breath...


Isn't working cause Apple's root certificate is not embed in windows (please try to look for it so i can confirm this for all windows platforms). I was on windows 8.

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
Reply with quote  
 Post subject: Re: Code-Signing and Windows 7
PostPosted: Mon Apr 01, 2013 10:26 am 
Offline

Joined: Fri Jul 21, 2006 12:28 am
Posts: 509
I would expect that you would be able to export the Apple root certificate as well and import it into Windows. Shame on Apple and on Microsoft if they're forcing us to buy two separate code signing certificates to support both platforms.

_________________
Regards,
Carl
Capaho Web
http://www.capaho.com


Top
 Profile  
Reply with quote  
 Post subject: Re: Code-Signing and Windows 7
PostPosted: Mon Apr 01, 2013 7:53 pm 
Offline

Joined: Fri Jul 21, 2006 12:28 am
Posts: 509
I found the following Apple document on code signing:

https://developer.apple.com/library/mac/#documentation/security/Conceptual/CodeSigningGuide/Procedures/Procedures.html

According to the document, you can sign a Mac app with a third-party certificate using the codesign command, so it looks like you don't need an Apple developer certificate specifically unless you want to sell in their App store, in which case you can get one simply by paying the required $100 annual fee.

I have not yet been able to find any specific information on the root certificate problem when importing an Apple developer certificate into Windows for signing Windows apps.

_________________
Regards,
Carl
Capaho Web
http://www.capaho.com


Top
 Profile  
Reply with quote  
 Post subject: Re: Code-Signing and Windows 7
PostPosted: Mon Apr 01, 2013 8:41 pm 
Offline

Joined: Fri Jul 21, 2006 12:28 am
Posts: 509
To follow up further, I exported the Apple Root CA and Apple Root Certificate Authority system root certs as p7b files and installed them into the Trusted Root Certification Authorities store in Windows 8. I got a warning message in Windows that Apple was unrecognised as a trusted certificate authority so I should be wary of installing the root certificates because any certificates signed by Apple would be accepted as valid.

I then exported the Apple Code Signing Certificate Authority system cert as a p7b file and installed it in Windows 8 and it showed as valid in the Windows cert manager. I don't know if this will work for the Apple developer code signing certificate because I don't have one, but it looks promising based on this experiment.

_________________
Regards,
Carl
Capaho Web
http://www.capaho.com


Top
 Profile  
Reply with quote  
 Post subject: Re: Code-Signing and Windows 7
PostPosted: Tue Apr 02, 2013 12:43 am 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
The same is what i tested but clients can't verify cause they need a root cert too.

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
Reply with quote  
 Post subject: Re: Code-Signing and Windows 7
PostPosted: Tue Apr 02, 2013 1:40 am 
Offline

Joined: Fri Jul 21, 2006 12:28 am
Posts: 509
swort wrote:
The same is what i tested but clients can't verify cause they need a root cert too.

That's unfortunate. That means you must have an expensive third-party cert to sign Windows apps and an Apple developer cert if you want to sell in their App store. It's a rather messed up state of affairs not to have a standard cert that will work cross platform.

_________________
Regards,
Carl
Capaho Web
http://www.capaho.com


Top
 Profile  
Reply with quote  
 Post subject: Re: Code-Signing and Windows 7
PostPosted: Fri Apr 26, 2013 10:38 pm 
Offline
User avatar

Joined: Fri Sep 30, 2005 11:00 am
Posts: 583
Location: Beautiful Taiwan
capaho wrote:
I found the following Apple document on code signing:

https://developer.apple.com/library/mac/#documentation/security/Conceptual/CodeSigningGuide/Procedures/Procedures.html

According to the document, you can sign a Mac app with a third-party certificate using the codesign command, so it looks like you don't need an Apple developer certificate specifically unless you want to sell in their App store, in which case you can get one simply by paying the required $100 annual fee.

I have not yet been able to find any specific information on the root certificate problem when importing an Apple developer certificate into Windows for signing Windows apps.


That's what the docs says, but if you _dont_ use an 'Apple Developer ID' certificate, Mac OS X 10.7.5 & OS X 10.8 by default will not allow your app to open. When you signup with Apple, they give you two certs, one for the App Store and a 'Developer ID' cert.

_________________
Sam Rowlands
rMBP 15" @ 10.8 & '08 MBA 13" @ 10.6 + 10.7, RB2012
http://www.ohanaware.com/
AppWrapper - Prepare Apps for Mac App Store & OS X 10.8 - http://www.ohanaware.com/appwrapper/


Top
 Profile  
Reply with quote  
 Post subject: Re: Code-Signing and Windows 7
PostPosted: Fri Apr 26, 2013 10:52 pm 
Offline

Joined: Fri Jul 21, 2006 12:28 am
Posts: 509
The Gatekeeper security settings in Mountain Lion give you the option of installing both App Store apps and third-party apps signed with recognized code signing certificates. I have tested it using a Comodo certificate and it's not a problem. However, you do need an Apple Developer certificate if you want to sell in the App Store.

_________________
Regards,
Carl
Capaho Web
http://www.capaho.com


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group