3

NOTE: not sure if this is best forum among the StackExchange group of forums/sites for this question. Please recommend a better one if this is not the best one.

I worked with generating Safari developer certificate from Windows before, when it was actually supported (and as such building a Safari extension on Windows as well with Safari 5). Too bad that I didn't foresee Apple dropping Windows support with Safari 6 and along with that the instructions for generating Safari developer certificate from Windows. I never did save those instructions. Wish I did.

If I'm not mistaken (since I don't have the actual instructions), I believe from Windows, if one had the instructions, it likely should still be possible to generate the certificate request file to then submit on Apple's Safari developer portal to then generate/get the final developer certificate. So that one could build extensions on Windows Safari 5, if the extension need not be Safari version targeted/specific.

So if I'm not mistaken, I was just wondering if anyone had (archived) the old Windows instructions for generating the certificate request. Sure would be nice to see/read them, even if it doesn't work anymore, as a point of reference at least.

1
  • This may be kind of pointless going forward. Just got Apple email that Safari dev program will be merged into Apple (iOS/Mac) dev program, which is $99/yr just to release/publish official Safari extensions (to the gallery). This applies to extension updates as well. At that price, may as well get a Mac and build iOS and/or Mac apps too.
    – David
    Commented Jun 10, 2015 at 6:05

1 Answer 1

3

This how-to might contain all necessary information provided by Apple in the past or help otherwise:

The Apple Safari extension development guide describes how to generate CSR(Certificate Signing Request) file for Mac. But, if we want to develop the Safari extensions on windows 7, we don’t have any resource to guide us. Here, I am providing steps to create developer certificate for windows.

  • Register on Apple Safari developer program here
  • Download and install X Certificate and key management (XCA)
  • Generate a new private key in XCA. - After installing the XCA, go to File ->New Database. Give database name and password. Now, the new key option will be enabled.
  • Choose new key and give the name for private key and give size as 2048 Bytes.
  • From the XCA, choose “certificate signing requests” tab. Click on “New Request” and fill the necessary details.
  • Export the Certificate Signing Request(CSR).
  • Request a certificate at apple here using the Certificate Signing Request(CSR).
  • Download the certificate from Apple account.
  • Click on “Certificates” tab on XCA and import the certificate which is downloaded from Apple into XCA.
  • Export the certificate as p12 file.
  • Double click on *.p12 file. The certificate will import into the windows Certiciate-Manager.
  • Now, open the safari browser and click on Develop -> Show Extension builder. You are able to see that the certificate got detected.
5
  • Thanks. People can be forgetful, I came across a different solution before but forgot about it. Just got reminded of it now: stackoverflow.com/questions/16011066/…
    – David
    Commented Jan 27, 2015 at 22:35
  • I have troubles in the 7th step: Request a certificate at apple here using the Certificate Signing Request(CSR). When I go to the provided link it's redirecting me to developer.apple.com/account/overview.action (not to the certificates section). I've didn't payed 99$ and I'm not sure what is the problem. I hope that the development of the Safari extensions is still free.
    – valkirilov
    Commented Aug 10, 2015 at 7:11
  • @valkirilov Reading this introduction I get the impression that meanwhile a paid Apple developer account is obligatory to get such a certificate.
    – klanomath
    Commented Aug 10, 2015 at 7:25
  • @valkirilov, see my comment update under my question above. Safari extensions development used to be free and under a separate program. Apple now rolled everything into the $99/yr Apple developer program. Developing Safari extensions is still free while you have a valid existing (generated) certificate. But new certs and publishing them to Apple gallery require paying now. My existing cert is good until April 2016, then :(
    – David
    Commented Sep 17, 2015 at 19:28
  • "Click on 'New Request' and fill the necessary details." It would be nice to know which ones are necessary.
    – M-Pixel
    Commented Feb 7, 2019 at 23:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .