Thursday, August 13, 2015

Convert Android apps to chrome apps

There is chrome app called ARC Builder it wraps the APK and turns it into a Chrome app.

Here is the link to the ARC Builder

https://goo.gl/qdTXIc

Tuesday, August 11, 2015

Create a p12 file


openssl pkcs12 -export -out clientp12.p12 -inkey clientkey.pem -in clientcert.pem -certfile ca.pem

decode a base64 encoded file


openssl base64 -d -in -out

example

openssl base64 -d -in ca_base64.crt -out ca.crt

Create p12 file using openssl

 openssl pkcs12 -export -out client.p12 -inkey clientkey.key -in client.crt

-certfile ca.crt

or

 openssl pkcs12 -export -out client.p12 -inkey clientkey.pem -in client.pem

-certfile ca.pem

when it asks password give it and it will ask again to verify it and give it





Monday, August 10, 2015

Check if a p12 is valid


openssl pkcs12 -in client.p12 -nodes -passin pass:"password of p12" | openssl x509 -noout -subject