Archivo de la categoría: Linux

nginx reverse proxy

To pass a request to an HTTP proxied server, the proxy_pass directive is specified inside a location. For example: location /some/path/ { proxy_pass http://www.example.com/link/; } This example configuration results in passing all requests processed in this location to the proxied server at the specified address. This address can be specified as a domain name or an IP address.… Leer más »

Comandos para liberar espacio con apt-get

Por usemoslinux  – 4 julio, 2011 53 61149 ¿Problemas de espacio? Tal vez la culpa no sea completamente de tus archivos de música, imágenes y vídeo, sino de paquetes de instalación y dependencias innecesarias en el sistema. Pero no hay que desesperar, existen algunos comandos de apt-get que pueden ayudar a solucionar estos inconvenientes. Índice [Ocultar] 1 Apt 2 Apt-get… Leer más »

Fixing Chrome 58+ [missing_subjectAltName] with openssl when using self signed certificates ca root ssl

Since version 58, Chrome requires SSL certificates to use SAN (Subject Alternative Name) instead of the popular Common Name (CN), thus CN support has been removed. If you’re using self signed certificates (but not only!) having only CN defined, you get an error like this when calling a website using the self signed certificate: Here’s how… Leer más »

Guide to Deploying Diffie-Hellman for TLS ( Weak Diffie-Hellman and the Logjam Attack )

Guide to Deploying Diffie-Hellman for TLS Our study finds that the current real-world deployment of Diffie-Hellman is less secure than previously believed. This page explains how to properly deploy Diffie-Hellman on your server. We have three recommendations for correctly deploying Diffie-Hellman for TLS: Disable Export Cipher Suites. Even though modern browsers no longer support export… Leer más »

Setting up a SSL Cert from Comodo

Setting up a SSL Cert from Comodo   These are the steps I went through to set up an SSL cert. Purchase the cert Prior to purchasing a cert, you need to generate a private key, and a CSR file (Certificate Signing Request). You’ll be asked for the content of the CSR file when ordering… Leer más »

How To Show Number of Queries and Page Load Time in WordPress

in WordPress. Simply paste the following code anywhere you like in your theme files (such as footer.php). 1 <?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds. And refresh the page. You will see the number of queries and the execution time.

fail2ban security How To Protect SSH With Fail2Ban on CentOS 7

Introduction While connecting to your server through SSH can be very secure, the SSH daemon itself is a service that must be exposed to the Internet to function properly. This comes with some inherent risk and offers a vector of attack for would-be assailants. Any service that is exposed to the network is a potential… Leer más »

SSL on all websites free for 90 days

https://letsencrypt.org/ https://www.sslforfree.com/   How It Works Let’s Encrypt is the first free and open CAWe generate certificates using their ACME server by using domain validation. Private Keys are generated in your browser and never transmitted.For modern browsers we generate a private key in your browser using the Web Cryptography API and the private key is… Leer más »