Error While Creating A Certificate - No Certificate Matches Private Key

(Doc ID 2314710.1)

Last updated on OCTOBER 26, 2017

Applies to:

Oracle Mobile and Social - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

Trying to configure push notifications with iOS using Oracle Mobile Authenticator App.

Referring the following documentation https://docs.oracle.com/middleware/12213/oam/AIAAG/introducing-adaptive-authentication-service.htm#AIAAG89759

Section 32.4.5 - Creating a Java KeyStore for iOS Access Request (Push) Notifications. having issues running the following 2 commands from that section:

1. openssl pkcs12 -export -inkey OMAKey.pem -in aps_production.pem -out iOS_prod.p12
->> iOS_prod.p12 is created, however is empty. Error states "No certificate matches private key"


2. keytool -importkeystore -destkeystore APNsCertificate.jks -deststoretype JKS -srcstoretype PKCS12 -srckeystore iOS_prod.p12
->> Error states " keytool error: java.lang.Exception: Source keystore file exists, but is empty: iOS_dev.p12 "


Currently Running: Oracle IDM Suite 11.1.2.3.0 with BP11 installed.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms