2478942 - SMP 3.0. Keytool error: java.lang.Exception: Alias <smp2> does not exist | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2478942 - SMP 3.0. Keytool error: java.lang.Exception: Alias <smp2> does not exist

Symptom

Keytool Utility
https://uacp2.hana.ondemand.com/doc/329ac769552a411b97bc7adb991b6197/3.0.12/en-US/7c2eddd970061014ba46b1c4748c229b.html?search=keytool%20utility

Example 5:
Generate a key pair using the -sigalg SHA-256withRSA parameter Java has had support for SHA-2 certificates since JDK 1.4.2,
and SAP recommends that you use SHA-2, instead of SHA-1.

keytool -genkeypair -keystore local_smp_keystore.jks -keysize 2048 -sigalg SHA256withRSA -alias smp2 -validity 4000 -keypass changeit -storepass changeit -keyalg RSA 

When using :

-alias "smp2"

Keytool error: "java.lang.Exception: Alias <smp2> does not exist


Read more...

Environment

  • SMP 3.0
  • Keytool Utility

Product

SAP Mobile Platform 3.0

Keywords

Alias, Keytool error, java.lang.Exception, <smp_cert>, does not exist , KBA , MOB-ONP , SAP Mobile Platform on Premise , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.