R
R
Root_men2017-02-16 23:43:46
Node.js
Root_men, 2017-02-16 23:43:46

How to create .pem and .ctr files?

I have keys in text form, how to create files? maybe some services?
If done through a text editor, it gives an error Error: error: error: 0906D06C: PEM routines: PEM_read_bio: no start line

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2017-02-17
@CityCat4

PEM is the general name of the files encoded in the following way: the
first and last lines are the text -----BEGIN NEW CERTIFICATE REQUEST----- (either CERTIFICATE or PRIVATE KEY or whatever) and -- ---END NEW CERTIFICATE REQUEST----- (and, accordingly, a pair line), and between them a base64-encoded certificate, a certificate request, a key - what is written in the header.
The certificate request is created through openssl, and there are also different programs for Windows. The certificate is generated by the CA that processes the request. You can create it yourself - it will be a self-signed certificate, no one will trust it, but in some cases you can forget about it.
It all depends on what you need the file for.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question