Re: [crx] i cant package a hosted app - Error "A private key for specified extension already exists. Reuse that key or delete it first."

12,356 views
Skip to first unread message

Joe Marini

unread,
Dec 3, 2012, 3:40:51 PM12/3/12
to jammm, Chromium-extensions
Make sure that you quit all running instances of Chrome, ensure that you have the latest version, and try again. Let me know if that works.



On Fri, Nov 30, 2012 at 9:42 PM, jammm <st3...@gmail.com> wrote:
the other day i packaged a hosted app, it all worked fine.
but somehow, ive lost the crx file that was created and the .pem file.

now when i try and package the extension again, i get the following error
"A private key for specified extension already exists. Reuse that key or delete it first."
and it doesnt package the app.

the problem is i have no idea where the key file is and no idea how to delete the key file, as i cant find it in the first place,
how can i reset this so i can recreate the crx?

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-extensions/-/USHHNuT-IYcJ.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.



--
Joe Marini
Developer Advocate / Chrome


James Mortensen

unread,
Jan 16, 2013, 11:48:00 AM1/16/13
to chromium-...@chromium.org, jammm
The key field says it's optional. Is that not true?  I get the same response as the original poster.  I've tried in both Chrome Stable and Canary on the latest versions.

I don't recall ever creating a key before.

James


On Monday, December 3, 2012 12:40:51 PM UTC-8, Joe Marini wrote:
Make sure that you quit all running instances of Chrome, ensure that you have the latest version, and try again. Let me know if that works.

On Fri, Nov 30, 2012 at 9:42 PM, jammm <st3...@gmail.com> wrote:
the other day i packaged a hosted app, it all worked fine.
but somehow, ive lost the crx file that was created and the .pem file.

now when i try and package the extension again, i get the following error
"A private key for specified extension already exists. Reuse that key or delete it first."
and it doesnt package the app.

the problem is i have no idea where the key file is and no idea how to delete the key file, as i cant find it in the first place,
how can i reset this so i can recreate the crx?

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-extensions/-/USHHNuT-IYcJ.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extensions+unsub...@chromium.org.

James Mortensen

unread,
Jan 16, 2013, 11:53:28 AM1/16/13
to chromium-...@chromium.org, jammm
Nevermind.  Apparently, there's an existing key in the parent directory of the extension folder. If the original poster ever comes back to this thread, he/she should double check to see that the pem file isn't in the parent directory.  

Also, he/she should try moving the extension to another directory and then trying to pack it, as this also worked for me.

James
Reply all
Reply to author
Forward
0 new messages