I have downloaded private key , and cert key in notepad in txt format, how to combined it t .crt ? or what i have to do next to it make in .crt format?


#1

image

I am newbie here , steps with command wolud be more helpfull , thanks in advance :slight_smile:


#2

They are both already PEM-encoded, which is the usual format expected for a file with the .crt extension. The giveaway is the BEGIN and END headers.

If your web server expects the private key and certificate to be in a single file (such as what haproxy does), then you can just concatenate one PEM-encoded block after another into a single file.


#3

Be very careful where you place the private key.
If you include it within a file intended only for public view, you will basically give away the keys to your (encryption) kingdom.


#4

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