Skip to content

Instantly share code, notes, and snippets.

View aledustet's full-sized avatar
⌨️
typing woooooords

Alejandro Dustet aledustet

⌨️
typing woooooords
View GitHub Profile
@aledustet
aledustet / ssl_doctor_pen_qa.rb
Created October 4, 2018 20:10
ssl doctor for pen provider exchange
# Usage: ruby ssl-doctor.rb [servicesv3.qa.provexchnet.com]
# []means optional :), by default is servicesv3.qa.provexchnet.com
require 'rbconfig'
require 'net/https'
if ARGV[0] =~ /^[^-]/
host, port = ARGV[0].split(':', 2)
else
host = 'servicesv3.qa.provexchnet.com'