What is a .pem file and How to use it?

xRobot picture xRobot · May 24, 2012 · Viewed 51.4k times · Source

I am designing a new chrome extension and when I package it then I get 2 file: a .crx file and a .pem file.

I want to distribuite my extension on my server ( shared ) and on Chrome webstore.

Could you tell me what is a pem file and how to use it ?

I can't find documentation about it.

Answer

Zuul picture Zuul · May 24, 2012

The packager creates two files:

  • a .crx file, which is the actual extension that can be installed.
  • a .pem file, which contains the private key.

You'll need the .pem later if you want to:

  • Update the extension
  • Uploading a previously packaged extension to the Chrome Web Store (make sure that the file is called key.pem (more info))

So, do not lose your private key (.pem)!