Archived Forum Post

Index of archived forum posts

Question:

How to send a digital certificte from the client to the server?

Mar 31 '13 at 12:11

Hi,, i'm building a client/server program (running on the same machine, and i was woundering how can i send a digital certificate from the client-side to the server-side (Which method to use?), because the server-side will need to extract the public key of the client's certificate to verify a digital signature sent by the client-side??

I was also woundering, when i send the certificate from the client, do i use "Export"?. And what about when the server recieves it, do i use "Import"?????

Need help...pleeeease

Regards. Rania


Answer

Digital certs can be written to many formats: DER, PEM, etc. They can be loaded from these same formats. Write to a format, send the data just like anything else, then load from that format on the server side...