Skip to content

Instantly share code, notes, and snippets.

@marick
Created May 28, 2010 19:03
Show Gist options
  • Save marick/417577 to your computer and use it in GitHub Desktop.
Save marick/417577 to your computer and use it in GitHub Desktop.
Open3.popen3("openssl x509 -inform der") do | stdin, stdout, stderr |
stdin.write(text)
stdin.close
stdout.read
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment