{
"username":"isaka",
"password":"admin",
"first_name":"Isaka",
"last_name":"James",
"born":"2024-10-09",
"gender":"Male",
"email":"[email protected]"
}
So you will use username
as isaka
and password
as admin
. Or you can create your own credentials.
It is better to run a docker in another session, don't just run the ./mvnm spring-boot:run
which automatically run the docker compose up to turn on the postgres.
docker compose up
To create the keypairs,
openssl genrsa -out keypair.pem 2048
And follows by public key,
openssl rsa -in keypair.pem -pubout -out public.pem
And generating the private key,
openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in keypair.pem -out private.pem
And you can delete the keypair.pem, And moving the public key and private key to the /src/main/resources/certs folder.