Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

How to create a public-key certificate for RSA Web of trust?

I have (for exemple) two public / private key pair (obviously).

They all need to sign each other certificate.

How to create the certificate?

I think the certificate is a textfile containing plaintext public key of the user, then bellow that we have each userid with their signature (plaintext key signed with their own private key)

For exemple:

-----BEGIN PUBLIC KEY----- MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIBfZhAv+fwnWRTul0YRJRmljaVlH3mHV8mbZMfyTzo0 GLeUJPMrxFqCK3RWiw9SuhXQPnQKW81WiIeiwvklxX8CAwEAAQ==

-----END PUBLIC KEY-----

-----SIGNATURES-----

3 ÜgÆSˆy½žÖ˶áîŠ1$³Ç¥Ýþzî° l™aÑ®÷ðÆŽ9²vLüWÁ-”yˆr÷I8â

-----END OF SIGNATURES-----

To verify if a certificate is valid, we use the public key of the specific user that signed the certificate and check if it's matching the plaintext public key.

Is that so simple?

And can I store the certificates on a database? Or it's not crypto-friendly?

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.