use keytool
See information of P12 keypair
openssl pkcs12 -in fookeystore.p12 -nodes -passin pass:"changeit" | openssl x509 -noout -subject
Sample project of Spring Boot SSLBundles https://github.com/scottfrederick/spring-boot-ssl-demo
openssl genpkey -h
openssl genpkey -algorithm ED448 -out root_keypair.pem
code .\root_keypair.pem
openssl pkey -in root_keypair.pem -noout -text