Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openssl.cnf - is the file you used earlier.
- $ openssl req -new -config openssl.cnf -key client-new-2048.key -out client-new-2048.csr
- Use Commone Name "aidanxc"
- $ openssl x509 -req -days 365 -in client-new-2048.csr -signkey client-new-2048.key -out client-new-2048.crt -extfile openssl.cnf -extensions ssl_client
- $ orapki wallet add -wallet ./test_wallet -user_cert -cert ./client-new-2048.crt
- $ orapki wallet display -wallet ./test_wallet
- Now you have wallet configured and the test .crt & .key files for curl:
- - Upload client-new-2048.crt
- - Try testing:
- curl -q -k --cert ./client-new-2048.crt --key ./client-new-2048.key https://identitysso.betfair.com/api/certlogin -d 'username=rxelgin&password=chocolate1' -H "X-Application: curlCommandLineTest"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement