Manually install Clipboard extension in chrome failed with Package is Invalid 'CRX_HEADER_INVALID'
Symptom
Due to the lockdown nature of our environment, we can not deploy the Clipboard extension directly from the Google Play store. We need to do a registry entry method via GPO. As the Idira docs notes: https://community.cyberark.com/s/article/00003168 We can use the clipboard-integration-chrome.crx file located on our PVWA server web root, however, when attempting to import this CRX file into Chrome (using Developer mode even) I get an error: Package is invalid: 'CRX_HEADER_INVALID'.
Environment
11.4;11.5;11.6;11.7 Privileged Access Manager (PAM, self-hosted) Cyber-Ark API/SDK Cyber-Ark API/SDK Other
Cause
The .crx file is in compressed format.
Resolution
Please note, the copy plugin is being discontinued and it is no longer needed in version 12 PAS for any browser. If you can't upgrade, please follow the steps below to install the .crx file from PVWA server:
1) Download the crx3 format attached in this article. The embedded file in PVWA server (C:\Inetpub\wwwroot\PasswordVault\extensions\Clipboard-integration-chrome.crx) was in crx2 format, which will cause this CRX_HEADER_INVALID error in Chrome version 73+.
2) Copy this file to the browser machine in question and unzip this .crx file directly to a folder
3) Go To Chrome-> More Tools->Extensions, Turn on the developer Mode
4) Press "Load unpacked" button and select desired extension folder (ie: Clipboard-extension folder). You should be able to see Cyber-Ark Clipboard Extension 2.1 extensions listed now.
You can open the manifest.json file inside the extracted folder, search for "Version" keyword to find the version of this extension. Version 2.1 is the latest when this article was written.
Or you can install this clipboard extension directly from Google store to one of the local browser machine first. After verifying from Chrome->More Tools-> Extensions it has been installed successfully, follow the the steps below:
1) Navigate to C:\Users\{UserName}\AppData\Local\Google\Chrome\User Data\Default\Extensions, zip the ndaciljfdnekbnmcpjidoebejglcjidc folder.
2) Copy this folder to those isolated computer and unzip it.
3) Launch Chrome-> More Tools->Extensions, Turn on the developer Mode
4) Press "Load unpacked" and choose the version-number folder (ie: 2.1) inside the desired extension folder in step#2.