API service handling
Generate a self-signed certificate and store it in the keystore with the given alias