Skip to content

rintcius/certificate-repo

Repository files navigation

certificate-repo

npm i && ./generate_keys.sh && node index.js

./test.sh

./testfail.sh

https://localhost:5000/token you can pass this code if you like, returns an access token and refresh token in json when the connection is made with the generated cert and key and returns 401 otherwise.

https://localhost:5000/ping requires access token in auth header returns arbitrary message in json if successful otherwise returns 401.

https://localhost:5000/authorize?redirect_uri=localhost:8090&state=cool redirects to localhost:8090?code=whatever&state=cool

In order to test certificates with SDBE, the generated server_cert.pem needs to be added to the jvm's cacerts:

cd $JAVA_HOME/jre/lib/security
cp cacerts cacerts.BU
keytool -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias certrepotest -file <path to>/server_cert.pem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published