UPWORK/ODESK guru: Tips and Tricks for clients

skype: upwork.link , email: [email protected]

Archive for January, 2014

CSR Generation: Using OpenSSL (Apache w/mod_ssl, NGINX, OS X)

without comments

Generating a Certificate Signing Request (CSR) using OpenSSL (Apache & mod_ssl, NGINX)

A CSR is a file containing your certificate application information, including your Public Key. Generate your CSR and then copy and paste the CSR file into the web form in the enrollment process:

Read the rest of this entry »

Written by spectre

January 21st, 2014 at 1:36 pm

Posted in SSL

Namecheap SSL

without comments

How do I generate a CSR code?

CSR code has to be generated on side of the company that provides hosting services for site that you want to secure with SSL certificate. Which means that your hosting company is the one that should generate a CSR code upon your request.

Read the rest of this entry »

Written by spectre

January 21st, 2014 at 1:30 pm

Posted in SSL

Perl does not work because suexec denies execution

without comments

Short solution.

If you have for example:

[[email protected]]# suexec -V
-D AP_DOC_ROOT=”/var/www” <<<<<<<<<<<<<<<<<<<<<<<< correct place for suexec scripts -D AP_GID_MIN=100 -D AP_HTTPD_USER="apache" -D AP_LOG_EXEC="/var/log/httpd/suexec.log" -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin" -D AP_UID_MIN=500 -D AP_USERDIR_SUFFIX="public_html" [[email protected]]# then: 1.) create a directory /var/www/cgi-bin (owner root / chmod 0701) 2.) create a directory /var/www/cgi-bin/YOUR_CUSTOMER (owner YOUR_CUSTOMER / chmod 0701) 3.) add symlink $HOME_of_virtualhost/cgi-bin which points to /var/www/cgi-bin/YOUR_CUSTOMER 4.) add path option which allows executing scripts (perl etc etc) in $HOME_of_virtualhost/cgi-bin CGI will work.

Written by spectre

January 11th, 2014 at 9:19 pm

Posted in Perl,Tips and Tricks