Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating google oauth X.509 certificate in PEM format within Mac OS X

I am currently in the process of setting up the Google oauth for my site and I was wondering if it is possible to generate a X.509 certificate in PEM format within MAC OS X via terminal?

Google provides this page as reference:

http://code.google.com/apis/gdata/docs/auth/authsub.html#Registered

but I was hoping it could be done within the Mac OS instead.

like image 660
Kevin Jung Avatar asked Aug 02 '11 16:08

Kevin Jung


1 Answers

You can use OpenSSL for that, it should be installed by default on OS X. This tutorial shows you how you may create your own self-signed certificate.

You can also use OpenSSL for something more sophisticated, e.g. a root CA that would issue either further sub-CAs or end-entity certificates directly.

like image 125
emboss Avatar answered Oct 06 '22 23:10

emboss