Skip to content

Instantly share code, notes, and snippets.

@sirosen
Last active May 5, 2017 12:47
Show Gist options
  • Save sirosen/28e661eb36b0bc6d2ddb791ebf20107b to your computer and use it in GitHub Desktop.
Save sirosen/28e661eb36b0bc6d2ddb791ebf20107b to your computer and use it in GitHub Desktop.
Create a Globus CSR
#!/bin/bash
name="$1"
openssl genrsa -out "$name.key" 2048
openssl req -new -sha256 -key "$name.key" -out "$name.csr" \
-subj "/C=US/ST=Illinois/L=Chicago/O=Globus/OU=Globus/CN=$name/[email protected]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment