Lao Zuo saw that netizens mentioned it for reference“ Use SSL For Free tool to obtain Let's Encrypt free SSL certificate in 3 minutes "In the article tutorial, when applying for and configuring the SSL website security certificate, it was mentioned that there was an error prompt when configuring to the VPS WEB environment. In this article, I introduced the use of the cPanel virtual host environment, so according to the three certificate files produced, the file does not need to be modified.
However, if we want to use it in the server, we need to merge the three certificate files: Privacy Key, CA_bundle.crt, and certificate.crt. Here, if we do not merge correctly, the following error message will appear:
nginx: [emerg] PEM_read_bio_X509_AUX("/root/domain.crt") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
This problem occurs because we have a problem with the delimiter when merging certificate.crt and CA_bundle.crt into the domain.crt file.

We can see that the end and beginning separators overlap, so we can split the empty line with a carriage return directly at the arrow position.
Finally, when we restart Nginx, there will be no error prompt.