Boost problems

Events happening in the community are now at Drupal community events on www.drupal.org.
ruriko's picture

I'm trying to use perusio's conf files so i followed the install instructions and when I reboot nginx server I get this error:
nginx: [emerg] SSL_CTX_use_certificate_chain_file("/etc/ssl/certs/gorgeoushentai-cert.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory error:20074002:BIO routines:FILE_CTRL:system lib error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib)

So I went into the /etc/ssl/certs/ directory and gorgeoushentai-cert.pem doesn't exist so how would I make it create that file?

Comments

Remove HTTPS server configuration

sivaji_ganesh_jojodae's picture

I did receive the same problem when I tried to create the first virtual host by coping example.com.conf. Removing HTTPS server part solved the issue for me as it was not required in my case.

## HTTPS server.
server {
    listen [::]:443 ssl;
    server_name example.com;
    limit_conn arbeit 10;
    ....
    ...
}

Yes, either 1. remove the ssl

brianmercer's picture

Yes, either
1. remove the ssl portion of the configuration;
2. create a self-signed certificate that encrypts traffic but gives a browser warning that the certificate is not verified by a 3rd party agent;
3. buy a certificate or use a free certificate agency like https://www.startssl.com/ to get a verified certificate if secure communication is a priority for you.

If you're not

perusio's picture

using SSL/TLS then just comment out/delete the secure server part. Odly enough I'm now working on a module to do all authenticated transactions over HTTPS. Brian suggestion of free certs is a good one if a Level 1 cert is enough for you. Which should be unless you're running an ecommerce site or require Level 2 or EV certs in any way.

Ok I've removed HTTPS and

ruriko's picture

Ok I've removed HTTPS and rebooted and now I can't view my site it just shows 404 Not Found. The error log says :
2011/08/17 10:13:17 [error] 3134#0: *2 "/srv/www/gorgeoushentai.com/public_html/gorgeoushentai.com/index.php" is not found (2: No such file or directory), client: 58.174.129.163, server: gorgeoushentai.com, request: "GET / HTTP/1.1", host: "gorgeoushentai.com"
2011/08/17 10:13:17 [error] 3134#0: *2 open() "/srv/www/gorgeoushentai.com/public_html/gorgeoushentai.com/index.html" failed (2: No such file or directory), client: 58.174.129.163, server: gorgeoushentai.com, request: "GET / HTTP/1.1", host: "gorgeoushentai.com"
2011/08/17 10:13:19 [error] 3134#0: *2 "/srv/www/gorgeoushentai.com/public_html/gorgeoushentai.com/index.php" is not found (2: No such file or directory), client: 58.174.129.163, server: gorgeoushentai.com, request: "GET / HTTP/1.1", host: "gorgeoushentai.com"
2011/08/17 10:13:19 [error] 3134#0: *2 open() "/srv/www/gorgeoushentai.com/public_html/gorgeoushentai.com/index.html" failed (2: No such file or directory), client: 58.174.129.163, server: gorgeoushentai.com, request: "GET / HTTP/1.1", host: "gorgeoushentai.com"
2011/08/17 10:13:21 [error] 3134#0: *2 "/srv/www/gorgeoushentai.com/public_html/gorgeoushentai.com/index.php" is not found (2: No such file or directory), client: 58.174.129.163, server: gorgeoushentai.com, request: "GET / HTTP/1.1", host: "gorgeoushentai.com"

the index.php does exist so why does it say that?

Hmm.

perusio's picture

What's your document root? It seems that you're specifying the root incorrectly.

From the log I would guess that would be: /srv/www/gorgeoushentai.com/public_html. Have you set $base_url on the settings.php file?

oh that did the trick! got it

ruriko's picture

oh that did the trick! got it fixed now

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: