Decode a CSR sent by email

Hello!!

I want to create a flow to automate the request for a TLS certificate.

I created a connector to receive the CSR (Certificate Signing Request) file by email.

I created a flow to validate who sent it and whether the email contains only a CSR file and nothing else.

Now I need to read the CSR to identify the common name and SANs that are there, and then create the call to the API that creates the certificate.

How can I do this?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi!!

While waiting for the post to open, I solved it.
I needed to install openssl in the docler image and create a new template.
After that, I used Execute Command to run openssl in the csr file that I saved on disk.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.