How to generate a client side certification

  • Posted on January 22, 2015
  • VaielabAsked by Vaielab


I would like to create client side ssl certification autorisation on certains page of my website. I already have “normal” ssl on my server. It’s certified by godaddy, and working great. Godaddy gave me a gd_bundle.crt and a other .crt file, not totally sure on how, but after a lots of try, I did managed to create a .pem file and a .key file. Thoses two file are on my haproxy. On my other server I use unsigned ssl since they only communicate between themself.

I would like to know, how do I from those file, create a pkcs12 file, and if possible one different pkcs12 file for each user, and do I use the haproxy ssl file (certified by godaddy) or the web server ssl file (uncertified)?

Thank you

Ps. All my server are on debian and my webserver are on apache2

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Messy, no idea why you want to do that, is not how SSL is suppose to work, but maybe you want to check this