Skip to content

Developer notes

Michal Hlavac edited this page Sep 1, 2017 · 1 revision

Development notes

Build

mvn clean install -Pdocker

Generovanie SSL self-signed certifikatu pre proxy komunikaciu Apache HTTPd a Apache karaf

/usr/java/default/bin/keytool -genkeypair -keyalg RSA -validity 3650 \
 -alias account-server \
 -dname "cn=account, ou=company s.r.o., o=Account Manager, C=SK, L=Bratislava, S=Slovakia" \
 -keypass changeit -storepass changeit \
 -keystore account-manager.jks \
 -ext SAN=DNS:account.domain,DNS:account.domain

/usr/java/default/bin/keytool -exportcert -alias account-server -storepass changeit -keystore account-manager.jks -rfc -file account-server.pem

Links

https://developers.google.com/identity/protocols/OAuth2WebServer#protectauthcode

offline https://developers.google.com/identity/sign-in/web/server-side-flow

http://justincalleja.com/2016/04/17/serving-a-webpack-bundle-in-spring-boot/