问题
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.
回答1:
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)!
来源:https://stackoverflow.com/questions/10733641/what-is-a-pem-file-and-how-to-use-it