User certificate as confirmation of the transaction
I am developing a site where a user conducts this transaction and after it completes the user receives a "secure certificate". The certificate serves as proof of the transaction and the user can upload the certificate at a later stage to view the details of the transaction.
I am currently using my own XML document with encrypted fields. It works perfect, but I would like a standardized approach like an X.509 certificate. I'm not an encryption expert, but from what I gather, X.509 is more focused on CA-issued SSL.
Is it possible to create your own valid valid CRT file? As a test, I created a CRT file with an example provided on WikiPedia . However, when I open the file on Windows, I get this warning: Invalid Public Key Security Object File
- This file is invalid as the following: Security Certificate
.
Not much luck, so it's time to ask the experts. Which direction should I go? Any guidance would be greatly appreciated.
a source to share
This doesn't seem to work for asymmetric encryption. All you want to do is create some data that only you can read? This is a job for simple old fashioned symmetric encryption. The "correct" algorithm to use depends on your security and performance requirements, but there are libraries for just about any language you might use.
a source to share