# PEM\_read\_bio\_X509\_AUX() mislukt (SSL: error:0909006C:PEM routines:get\_name:no start line:Expecting: TRUSTED CERTIFICATE)

**URL:** <https://meta.discourse.org/t/pem-read-bio-x509-aux-failed-ssl-errorpem-routinesno-start-line-trusted-certificate/176546>\
**Category:** Self-hosting\
**Created:** [19 januari 2021 om 10:59 UTC](https://meta.discourse.org/t/pem-read-bio-x509-aux-failed-ssl-errorpem-routinesno-start-line-trusted-certificate/176546 "2021-01-19T10:59:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![yoko](https://avatars.discourse-cdn.com/v4/letter/y/58956e/32.png) [@yoko](https://meta.discourse.org/u/yoko)\
**Post date:** [19 januari 2021 om 10:59 UTC](https://meta.discourse.org/t/pem-read-bio-x509-aux-failed-ssl-errorpem-routinesno-start-line-trusted-certificate/176546/1 "2021-01-19T10:59:09Z")

</div>

I tried to set up forum using discourse on ubuntu 20.04 LTS on VPS. But after install I get:

```plaintext
nginx: [emerg] cannot load certificate "/shared/ssl/domain.org.cer": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
nginx: configuration file /etc/nginx/nginx.conf test fail

```

My domain is:

I ran this command:

> sudo nginx -t

It produced this output:

> ```plaintext
> nginx: [emerg] cannot load certificate "/shared/ssl/domain.org.cer": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
> 
> ```

nginx: configuration file /etc/nginx/nginx.conf test fail

> ```plaintext
> 
> ```

My web server is (include version):

> nginx version: nginx/1.18.0

Should I create a certificate? This appears after I clone the latest repo from github. Is this a desired behavior?

---

_[View the full topic](https://meta.discourse.org/t/pem-read-bio-x509-aux-failed-ssl-errorpem-routinesno-start-line-trusted-certificate/176546)._
