Closed ghost closed 5 years ago
The layout of the page can always be worked on later, the next steps will be for it to take that uploaded file, parse the certificate, and pass it into the normal code that is used to display the certificate viewer. :)
Can you give me the example of certificate file and have confusion, on refresh uploaded certificate will be removed?
Any certificate chain in PEM format should do, as that is most likely what someone would upload.
Do I need to post or store that certificate otherwise on refresh it will get deleted.
I don't think it's necessary to store it. If we decided we wanted to do that, we could always make a different issue for it.
The function parse which you have used converts the rawDER into PEM. But in upload certificate it is already in PEM. So why to parse that certificate?
If it's already in PEM, then you wouldn't need to parse it that way. :)
This was completed in dd43a1e3488c29e488742690b3a3fd6711304103.
I have added basic html file and context menu for upload certificate. Please let me know if this is ok and what are next steps like on submit event and design of page.