Can we deploy a Chrome extension through local http server through GPO settings? -


i have windows system part of domain. i've imported domain gpo chrome .admx file , created chrome gpo policy 'extensioninstallforcelist' property using http://dev.chromium.org/administrators/policy-list-3#extensioninstallforcelist reference.

here i've specified id extension gets generated when loaded in unpacked format. also, used local http server place download. pseudo value of property used:

eelojgpfkmaaabbbccneneemcahoehjo;http://<some.ip.address>/crx 

see attached snapshot reference:

chrome gpo policy setting

i've created iis server , enabled directory browsing , chose root path of server point parent folder of 'crx'. able access xml file present inside crx using above url.

however extension still not installed. have extension in chrome webstore , if use webstore url, extension deployed successfully.

as per comments xan below , further trials performed, i'll add snapshots each of following: 1. updates.xml 2. tried fqdn instead of ip address still couldn't install fqdn-based-gpo 3. changed gpo point folder contains crx file instead of update url. still not installed 4. had packed extension using link mentioned. dragged-n-dropped packed crx file , found out new id. used id in updates.xml file in chrome gpo policies. however, extension still not installed on domain endpoint. extension packing machine

  1. can please me point out missing?
  2. is there issue in way configured iis server? or
  3. could because used ip address instead of fqdn? or
  4. is because of other possible configuration error?

you don't specify in question, spot few problems/omissions:

crxs , ids

here i've specified id extension gets generated when loaded in unpacked format.

this not work; id temporary 1 based on hash of path extension.

chrome needs generate keypair , sign crx useable in enterprise deployment.

  1. you need package crx through chrome://extensions's developer mode.

  2. it generate private key .pem need save future updates (otherwise id change again , won't able use update).

  3. then, install crx on same machine dragging onto chrome://extensions final, signed id.

    as alternative step, can use openssl generate key .pem obtained previous steps.

what hosting?

the url point in gpo policy update url, not actual crx file!

see this documentation on update manifests. here's example:

<?xml version='1.0' encoding='utf-8'?> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>   <app appid='eelojgpfkmaaabbbccneneemcahoehjo'>     <updatecheck codebase='http://<some.ip.address>/actual_extension.crx' version='1.0' />   </app> </gupdate> 

modify updatecheck.version needed when updating. don't touch of gupdate properties.

how serving files?

there may minor issue content-types server sending.

i not find bulletproof information on should content type files, guess is:

  • application/xml update manifest
  • application/octet-stream crx file

still not working?

perhaps you're on ip vs fdqn. should possible create local dns entry update server - try , see if helps.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -