Skip to content

Instantly share code, notes, and snippets.

@waldekmastykarz
Last active June 18, 2020 10:56
Show Gist options
  • Save waldekmastykarz/076e491bda8b593c8a982cbfb55ab86c to your computer and use it in GitHub Desktop.
Save waldekmastykarz/076e491bda8b593c8a982cbfb55ab86c to your computer and use it in GitHub Desktop.
Create certificate for AAD app for app-only authN. Generated certificate is not password-protected
openssl genrsa -out localhost.pfx 2048
openssl req -new -key localhost.pfx -out localhost.csr
openssl x509 -req -in localhost.csr -signkey localhost.pfx -out localhost.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment