I create websites, applications and e-commerce solutions at Unleashed Technologies. When I'm not solving tough problems for clients, you can find me speaking at conferences all around the world. In my free time, I also like to tinker with Arduino and Android; I've helped root the enTourage eDGe and have a few sound effect widgets available on Google Play.
PKCS#12 archives (commonly known as
.pfx files) usually contain both a certificate and its private key, sometimes with password protection. In order to use these with a server like nginx or Apache, we need to extract these objects and convert them using openssl.
(The commands below assume your file is named
I recently inherited a legacy PHP project built on a closed-source framework where all the core classes were encrypted with IonCube. Not knowing what classes and methods exist makes it extremely difficult to use that functionality. In order to make life easier, I set out to create a
stubs.php file listing all of those "hidden" classes and methods.
To celebrate this milestone I thought I'd share the story of how this package came about, how it's grown, and how I couldn't have reached this milestone without the PHP community's help.