Skip to content

KeyServer PK Find

Javier Gusano Martinez edited this page Nov 30, 2016 · 3 revisions

How to Find a Private Key on KeyServer Database

This process is very simple, you only need the certificate fingerprint SHA1.

  1. Select the 'Find' option on KeyServer menu (use 'F' and press ENTER):
                         - KeyServer Options -
                         ---------------------
    

Option Description


H      Shows help menu options.
I      Shows KeyServer status and details.
S      Jetty HTTPs connection statistics.

P      Provision: Insert a new private key inside KeyServer database.
D      Delete: Remove a private key from the KeyServer database.
F      Find: Search a specific SHA1 register on KeyServer database.
L      List: Shows all registers inside KeyServer database.

Q      Close KeyServer tool.

Write the option key and Enter to execute.

f ```

  1. Write the certificate SHA1 value:
    
                   - Private Key Provision Manager -
                   ---------------------------------
    
    

Action : Find Private Key on database using certificate SHA1.

Description

Find a private key from KeyServer database. This command use the certificate SHA1 to locate the register on database.

Note: If you write Q and press ENTER, the private key provision will be cancelled.

Write the certificate SHA1 and press ENTER: 0123456789ABCDEF0123456789ABCDEF01234567

```
  1. If the certificate with the specified fingerprint is on database, you'll receive an output similar to:

Register found on KeyServer database: ·SHA1 index: 0123456789ABCDEF0123456789ABCDEF01234567 ·PrivateKey (base64): MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDFPnrM4YkQpjmDRF8Y4VulHP3J4WEjvKzQ [..] ppt0ttCYv4tHwoqS1u/bPES+adArJvErfyiC8mJw4fpI7GSrxQPfOkOlK

```
  1. Otherwise, if the certificate isn't on database, you will receive:

[ INFO ] - The following SHA1 has not found on database: 9123456789ABCDEF0123456789ABCDEF01234569

``` 

Clone this wiki locally