Techy Things

How to install a CA signed SSL certificate 0

How to install a CA signed SSL certificate

Apache (…) SSLEngine on SSLCertificateFile /path/to/website.crt SSLCertificateKeyFile /path/to/private.key SSLCACertificateFile /path/to/root_bundle.crt What is the use of you might say ? It is primary the same as SSLCertificateChainFile but it also permits the use of the...

Create your own CA certificate authority to sign SSL 0

Create your own CA certificate authority to sign SSL

mkdir -p root-ca/{conf,private,public} chmod 600 root-ca/private/ cd root-ca/ mkdir signed-keys echo “01” > conf/serial touch conf/index Create a new file in root-ca/conf/openssl.cnf with the following content [ req ]default_bits            = 2048 default_keyfile         = ./private/root.pem...

Restoring wordpress site from backup 0

Restoring wordpress site from backup

In theory should be straightforward: mySQL database + files restore. In practice not so easy. Here are some trouble you may jump into Website domain changes It happens that before restoring the backup you...

Call to undefined function curl_init() 0

Call to undefined function curl_init()

You need to uncomment extension=php_curl.dll But it might not work! If it doesn’t it just means you are editing the wrong php.ini or that no php.ini is used. Verify what is the status by...

CloseHandle HANGS on HANDLE created from CreatePipe 0

CloseHandle HANGS on HANDLE created from CreatePipe

Solution Add CloseHandle(hChildStd_OUT_Wr) after CreateProcess(…) Problematic Code THREAD1: HANDLE hChildStd_OUT_Rd; HANDLE hChildStd_OUT_Wr; CreatePipe(&hChildStd_OUT_Rd, &hChildStd_OUT_Wr, &saAttr, 0); PROCESS_INFORMATION piProcInfo; STARTUPINFO siStartInfo; BOOL bSuccess = FALSE; // Set up members of the PROCESS_INFORMATION structure. ZeroMemory( &piProcInfo,...