To validate a certificate agains a certificate authority you just have to run
openssl verify -trusted ca_root.pem -untrusted intermediate_ca.pem certificate.pem
You'll see a 'OK' message at the end of the output
0x8da8100730cf130ea1395ba945fa1767b2d10f72 |
class RouteTranslator | |
def self.routes(rails_router, &block) | |
RouteTranslator.new(rails_router).instance_eval(&block) | |
end | |
def initialize(rails_router) | |
@rails_router = rails_router | |
end |
#!/usr/bin/env bash | |
set -o errexit | |
set -o pipefail | |
cer=null | |
root_ca=null | |
usage () | |
{ |
Verifying I am +genaromadrid on my passcard. https://onename.com/genaromadrid |
def bin_to_hex(s) | |
s.scrub.unpack('H*').first | |
end | |
def hex_to_bin(s) | |
s.scan(/../).map { |x| x.hex }.pack('c*') | |
end |