CentOS 7: install certbot to register wildcard SSL certificate phptuts June 3, 2022 Step 1: install snap Step 2: Install latest version of snap: Step 3: Remove old certbot packages sudo yum remove certbot Step 4: install certbot… Continue Reading
How to fix Error 521: Web server is down with HTTPS website using Cloudflare phptuts December 14, 2018 Sometime you see a strange error: your website run with HTTP but with HTTPS you get error 521, how to fix this error? Step 1:… Continue Reading
Let’s Encrypt: how to fix error Received 2 certificate(s), first certificate had names phptuts February 1, 2018 You could give this error when renew Let’s Encrypt certificate How to fix this error: Simple, you can use this command: Result: Continue Reading
How to build the OpenSSL library on CentOS phptuts January 9, 2018 We make an example on CentOS 7 64bits. Step 1: Result: make make install Continue Reading
PHP & CURL: step by step – HTTPS Source grabber phptuts June 17, 2016 Example 3: HTTPS Source grabber Result: Note: Continue Reading
PHP: Using SOCKS4 with SSL connection – part 2 phptuts June 17, 2016 Part 1: PHP: Using SOCKS4 with SSL connection The solution is use function stream_socket_enable_crypto to turn encryption on an already connected socket: We change function… Continue Reading
PHP CURL class support basic authorization, HTTP SOCKS5 proxy and much more phptuts August 10, 2012 This is a useful class written by me and use it regularly. Features HTTPS connection Basic authorization, HTTP proxy SOCKS5 proxy Cookie jar and much… Continue Reading
PHP: Using SOCKS4 with SSL connection phptuts August 8, 2012 Please read first: PHP SOCKS4 Interface Try to grab data from a HTTPS page like: https://www.google.com we get a empty string string(0) “” or an… Continue Reading