I was doing a CURL to an external API which requires signing and the gem I used was doing it via CURL.  As I moved to a new admin account and did some more setting up, I found some secret underlying problems.

When I ran my CURL calls, I end up getting Curl::Err::ConnectionFailedError errors.  It took me quite awhile to find the solution. I hope that this solves someone else's problem too.

Fast forward.

http://curl.haxx.se/mail/archive-2013-10/0036.html


When you're working on your development machine and need some signing for your CURL requests, you need a certificate. openssl genrsa -des3 -passout pass:x -out server.pass.key 2048openssl rsa -passin pass:x -in server.pass.key -out server.keyrm server.pass.keyopenssl req -new -key server.key -out server.csrGenerate SSL certificate: openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

Finally, just add your local certificate to the security keychain.

cd your-directorysecurity add-trusted-cert server.crt

Now, CURL away! :)

Al revisar camisetas de fútbol, conviene empezar por la temporada, el diseño y los detalles visibles. Como comprobación final, conviene asegurarse de que las imágenes muestren el frontal, la espalda y los acabados relevantes.