The self-signed certificate valid for 10 years is generated using:

keytool -genkey -keyalg RSA -alias iiziGo-selfsigned -keystore self_signed.p12 -storetype PKCS12 -storepass password -validity 3600 -keysize 4096

What is your first and last name?
  [Unknown]:  John Doe
What is the name of your organizational unit?
  [Unknown]:  IIZI
What is the name of your organization?
  [Unknown]:  localhost
What is the name of your City or Locality?
  [Unknown]:  Monaco
What is the name of your State or Province?
  [Unknown]:  Fontvieille
What is the two-letter country code for this unit?
  [Unknown]:  MC
Is CN=John Doe, OU=IIZI, O=localhost, L=Monaco, ST=Fontvieille, C=MC correct?
  [no]:  y

Generating 4,096 bit RSA key pair and self-signed certificate (SHA384withRSA) with a validity of 3,600 days
        for: CN=John Doe, OU=IIZI, O=localhost, L=Monaco, ST=Fontvieille, C=MC