views:

436

answers:

5

Hello, all! I have registered for the Safari Development Program and have a valid Apple ID. I've followed all the steps given by Apple. The problem is that Windows XP (Service Pack 2) does not recognize the command 'certreq', whereas the instructions said it would work on any Windows machine. However, the command 'certreq' was working on Windows Vista on the machine of my co-worker's, I downloaded the certificate (the .cer file) and installed it and Safari detected it. However, I don't have Windows Vista. I installed Windows 7 now on my machine, the command 'certreq' works and I have the Safari Extension Certificate (the .cer file) but when I open Safari's Extension Builder, my certificate does not appear there.

I entered mmc in Start --> Run and checked if the certificate was installed there. It was in the 'Other People' but not in 'Personal'. Even on Internet Explorer 7+, when I go to Tools --> Internet Options --> Content (Tab) --> Certificates, the certificate is not there in the Personal tab, (WHEREAS IT GOT INSTALLED IN THE PERSONAL FOLDER AUTOMATICALLY IN WINDOWS VISTA). I tried importing the certificate (the .cer file) into the Peronal folder, the import is successful but still neither does it appear in the personal folder nor does Safari recognize/detect it when I go to the Extension Builder.

ANY HELP?! I need to make an extension for my office project and the deadline is approaching. I really need to get it done.

Thanks a million in anticipation.

+1  A: 

By generating the cert request on another machine you don't have the private key associated with the cert on your own. Generate a cert request on your Win7 machine now, go get a new cert from Apple, and it should work fine.

Paul Kehrer
A: 

Thank you so much for your help. But it's not working. So, here is what I've done after you answered my question: - Revoked my previous certificate - Went to developer.apple.com, signed in. - Following the steps they had given, I saved the file 'certreq.txt' on my Windows 7 machine. - Entered the command: certreq -new certreq.txt newcsr.pem in the command prompt and got the newcsr.pem file. - Going to the next step, I uploaded the newcsr.pem file to the file uploader and in return Apple gave me a certificate (a .cer file, specific to my name and Apple ID) - Double-clicked on the .cer file, the Certificate Installation Wizard appeared. - Followed the steps, chose 'Automatically choose certificate location' and the clicked 'ok'. - The alert said 'The import was successful.' - Opened Safari, reset it, went to develop --> Extension Builder --> New Extension - It said (in red :s ), "No Safari Devloper Certificate"

Then, I also tried placing the certificate in different folders in the MMC (Personal, Trusted People, Other People, etc.) but it made no difference.

So, is there anything I should do? Anything I'm doing wrong?

IS THERE ANY SPECIFIC CERTIFICATE FOLDER THE CERTIFICATE SHOULD BE SAVED IN?

Thank you so much.

P.S. Sorry, I'm answering my own question but the comment didn't accommodate such a long text.

Questor
A: 

I have the same problem. I installed the Apple Computer Root Certificate and the Apple Worldwide Developer Relations Intermediate Certificate which are certainly needed for a valid certificate path but this did not fix the problem.

rsrobbins
A: 

It's got something to do with the private key - On me Vista it says CertReq: Request Created and it installs fine, but then on Windows 7 it just creates the file and when you look at the info before/after install it doesn't display that it is associated with the private key on the computer. Very confused I am.

ThatGuy
I'm not sure what you mean by "the info" when you say, "...when you look at the info before/after install it doesn't display..."Mine worked. I'm not sure how. But my certificate was working on Windows Vista but not on Windows 7. Then my fellow-employee created his certificate on Windows 7, did nothing special but the instructions by Apple, and guess what, his certificate works! He didn't even provide his private key. It just appears in the Extension Builder.I recommend you make a fresh certificate from Apple website and install it on THE SAME Operating System and machine where you make it.
Questor