For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
This allows client to use https://localhost or https://0.0.0.0
keytool -genkey -alias profiler -keyalg RSA -keysize 1024 -validity 1365 -keypass password -keystore wiremock.jks -storepass password -ext SAN=dns:localhost,ip:0.0.0.0
As a result there is a private/public key pair in wiremock.jks keystore