For once I will write this post in english since I found really few documentation / pages in google about this subject.
I made a simple tutorial to explain how to do get / post request using https/ssl, pem files and ruby, go check it out at: http://benjamin.francisoud.googlepages.com/howtodogetorpostrequestinhttpssslandruby
You can leave comments in this post :)