Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Info] keymanager key generation #282

Closed
ankitvaishnav opened this issue Nov 11, 2020 · 2 comments
Closed

[Info] keymanager key generation #282

ankitvaishnav opened this issue Nov 11, 2020 · 2 comments
Assignees
Labels

Comments

@ankitvaishnav
Copy link
Contributor

ankitvaishnav commented Nov 11, 2020

Possible Errors:

  • No unique alias is found

Resolution:

  1. Go inside the keymanager pod docker
  2. Download PKXS11Test.java java program in the keyManager Docker (PKXS11Test.java).
  3. download thebouncycastle jar file directly inside docker bouncycastle
  4. Run command javac -classpath bcprov-jdk*.jar PKCS11Test.java
  5. Run command java -cp bcprov-jdk*.jar:.: PKCS11Test - this will create new key pair in SoftHSM docker. and prints new Key UUID on the console.. Copy the new UUID in a text file.
  6. Update the New UUID in DB table (mosip_kernel.key_alias) where AppID is KERNEL & RefID is SIGN and update the generation time to current time & expiry time to one year from current time.
  7. Restart the keyManager Docker.
@wuritechteam
Copy link
Contributor

@mombe090 to document and close. ETA = NOv. 12

@mombe090
Copy link

Documentation done and is ready on shared drive https://drive.google.com/file/d/1qyzdWAMcTmf8qZdx2kCIn0lrolIBM7I7/view?usp=sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants