puts "Certificate #{domain} expires at #{certificate.not_after}"
else
subject_alt_name = certificate.extensions.find { |e| e.oid == "subjectAltName" }
puts "Certificate #{domain} expires at #{certificate.not_after}"
else
subject_alt_name = certificate.extensions.find { |e| e.oid == "subjectAltName" }