OpenSSL public key for Firefox extension signing -


i'm trying bring old extension made firefox 1.5 written in javascript. 1 of changes introduced in firefox 3.0 need extension updates secured via either https or pki. since can't use ssl solution on website, need use pki solution.

so, first generating private , public keys. able create ca , client (code signing) certificates using openssl following this guide. so, how have 2 key , certificate pairs: ca.crt, ca.key, code.crt , code.key.

now, have put public key install.rdf's <em:updatekey> field. did command openssl -in code.key -outform der -pubout , copied resulting output (sans ^-----.* lines) install.rdf. now, public key generated in way base64-encoded , ends couple equals signs. haven't seen examples have these trailing characters. ok, or did pass wrong options openssl?

aside this, using uhura sign update.rdf seems straight-forward, again there no trailing =='s, seems odd output got via openssl command above.

any appreciated!

i able working using localhost webserver configuration. openssl command correct 1 use in case , trailing padding coincidence, works when fetching updates.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -