Skip to Content
0
Former Member
Feb 12, 2009 at 06:07 PM

Import Certification & Private Key into the NetWeaver-WebAS v7.1

1277 Views

Dear together,

System environment:

-> SAP NetWeaver PI (WebAS) v7.1 & MaxDB under Windows XP

-> v7.1 SP15

-> Keystore View: DEFAULT

one Question: I have tried to import (from file) my self-made certificate and private key (with Java JCE) into the WebAS under "Certifications & Keys -> Key storage" and have got the error message below:

ERROR: -> java.lang.ArrayIndexOutOfBoundsException: Index out of range: 1 >= 0

Another error message was:

ERROR: -> iaik.asn1.CodingException: ASN1: OBJECT ID does not support getComponentAt(int)!

What's to do? What's wrong on my making?

The contents of both files you can find below as well:

PRIVATE KEY (privatekey.p7):

===============

Sun RSA private CRT key, 1024 bits

modulus: 95604849482429508770864512674666583456602844585329348689237119402522986391550536242893900470796119353308148212627253697200578988417870408506879425206687315028907516447843892734657475992349898722413955373812224895668706870247487577492435550817614480320845117042390827133111364683011054938949563937324987669159

public exponent: 65537

private exponent: 50824312311638373523001047066319541139021363586262332855227142529928145107063501269548857781139460125871734802141286888482356103521348322815809072343881858310550119071823602922534055252043831276200370496836235608964494045487724603031971283728372134167143108915434983265237275371915642304397141680288814346753

prime p: 12890912035977049947705118354644416155947301878682857271636193866745916726975262131658490976981154516308566200250143148187451166643591939280489693512826823

prime q: 7416453484098517726179535838367072761995882923956995241057847226856273096787393728059327030020494914975841550436397142990204024794535779644116371772608033

prime exponent p: 12763255873635943314565660921253137548668821037032107704684824566663244344110514811466136114169906377378125999081912333484708352551526523277422146766869201

prime exponent q: 1045978295520432722631146524162333545007063885532363504785047864837153550415885381211412785731410264417378022348957364430145655144054415234914134371335521

crt coefficient: 636393049984380294563921536372984686627440842290167012373685940176713607816722313130540093815079821089340024855439832232652248222496678306088491744207840

PUBLIC KEY (publickey.crt):

===============

Sun RSA public key, 1024 bits

modulus: 95604849482429508770864512674666583456602844585329348689237119402522986391550536242893900470796119353308148212627253697200578988417870408506879425206687315028907516447843892734657475992349898722413955373812224895668706870247487577492435550817614480320845117042390827133111364683011054938949563937324987669159

public exponent: 65537

Thanks for help and regards,

Cengiz