keytool -genkeypair -alias chachkies -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore chachkies.p12 -validity 3650
openssl genrsa -des3 -out localCARoot.key 2048
openssl req -x509 -new -nodes -key localCARoot.key -sha256 -days 3650 -out localCARoot.pem
Invalid error page in Chrome can by bypassed by typing thisisunsafe
Two roles are creted - chachkies.user
and chachkies.admin
chachkies.user
credentials are user1\password
has permission to access protected chachkies endpoint
chachkies.user
credentials are admin1\password
has permission to access protected actuator endpoint