Project fr.univtln.bruno.samples/jee9.1
Steps to run this project
- COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up --build -d
- Visit
- curl http://localhost:8080/restApp/sample
- curl http://localhost:8080/restApp/sample/hello
- curl http://localhost:8080/restApp/sample/main
- curl http://localhost:8080/restApp/sample/persons
- curl -H "Content-Type: application/json"
-X POST
-d '{"Person":{"name":"Jeanne"}}'
http://localhost:8080/restApp/sample/persons - curl http://localhost:8080/restApp-1.0-SNAPSHOT/resources/sample/persons/843c8236-6c6b-450e-9aa3-211a9b897403
- curl -H "Accept: text/xml" http://localhost:8080/restApp-1.0-SNAPSHOT/resources/sample/persons
Import "real" certificate
openssl s_client -showcerts -servername localhost -connect localhost:8181 </dev/null | openssl x509 -outform DER > localhost.der keytool -import -noprompt -trustcacerts -storepass storepass -alias localhost -keystore mycert-pub.jks -file localhost.der