Entradas

Mostrando entradas de mayo, 2021

How do I install an SSL Certificate into Nginx?

  Problem How do I install an SSL Certificate into Nginx? Solution The HttpSslModule supports SSL certificates in Nginx although it is not enabled by default.  This guide explains how to configure it for use. Part I - Preparing Your SSL Certificate Nginx is similar to Apache on its install, however the intermediate and root certificates in the chain are specified separately as they are in Apache.  In order to successfully install your SSL certificate, you must create a 'bundle file' that contains your SSL certificate, the intermediate certificate and the root certificate in one file.  Part I of this document will explain how to create this 'bundle file' in the correct order. First you must obtain your certificate in PEM format.  By default, QuoVadis issues certificates in this format.  You must convert this file if you have your SSL certificate in a different format. Note:  QuoVadis provides a conversion tool at  https://pkiwidgets.quovadisglobal.com/pkiwidgets/convertC

How to Extract Private Key and Certificate from a .PFX File

  A   .PFX (Personal Information Exchange)   file is used to store a certificate and its private and public keys. For example, if we need to transfer SSL certificate from one windows server to another, You can simply export it as   .pfx   file using IIS SSL export wizard or MMC console. Sometimes we need to extract private keys and certificates from .pfx file, but we can’t directly do it. This article can be helpful for you to do the same. This article will also helpful for you to migrate an SSL certificate to AWS ELB because ELB required private keys and certificates separately. In order to use below commands, you must have OpenSSL installed on your Windows or Linux system Extract Private Key from PFX The following command will extract the private key from the .pfx file. A new file  private-key.pem  will be created in current directory. This command required a password set on the pfx file. openssl pkcs12 -in myfile.pfx -nocerts -out private-key.pem -nodes Enter Import Password: Ope

How to Install Security Updates on CentOS

Imagen
  Keeping your Linux system up-to-date is a very critical task, especially when it comes to installing security updates. This ensures that your system stays safe, stable, and keeps you on top of the latest security threats. In this short and precise article, we will explain how to install security system updates on a  CentOS 8 Linux  system. We will show how to check for system updates (for  all installed packages ), updates for a specific package, or security updates only. We will also look at how to install updates either for a specific package, for all installed packages, or security updates only. First, log into your system and open a terminal window, or if it is a remote system, access it via ssh. And before you move any further, take note of your the  current kernel version on your system : # uname -r Check Current Kernel Version Checking Security Updates for CentOS 8 Server To check if there are any updates available, issue the following command on the command prompt. This comma

How to Install Security Updates in Ubuntu

Imagen
  One of the easiest ways to protect your Ubuntu systems is by keeping up to date software on them. Therefore applying updates frequently is an important part of maintaining secure systems. In this article, we will show how to install security updates in  Ubuntu  and  Linux Mint  systems. Intalling Security Updates on Ubuntu If your system has the  update-notifier-common  package installed, Ubuntu will alert you about pending updates via the message of the day ( motd ) upon console or remote login. Once you have logged into your  Ubuntu  system, you can check for new updates using the following  apt command . $ sudo apt update Install Security Updates on Ubuntu Updating a Single Package on Ubuntu To check and update a single package, for example, a package called  php , after updating your system’s package cache, then update the required package as follows. If the  php  package already installed it will try to update to the latest version available: $ sudo apt-get install php Update a

How to enable TLS 1.2 on Windows Server 2008 R2

  Problem How to enable TLS 1.2 on Windows Server 2008 R2?   Solution QuoVadis recommends enabling and using the TLS 1.2 protocol on your server.  TLS 1.2 has improvements over previous versions of the TLS and SSL protocol which will improve your level of security.  By default, Windows Server 2008 R2 does not have this feature enabled.  This KB article will describe the process to enable this. Start the registry editor by clicking on  Start  and  Run . Type in "regedit" into the  Run  field (without quotations). Highlight  Computer  at the top of the registry tree.  Backup the registry first by clicking on  File  and then on  Export .  Select a file location to save the registry file. Note:  You will be editing the registry.  This could have detrimental effects on your computer if done incorrectly, so it is strongly advised to make a backup. Browse to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols Right cli

How to Setup and Configure Your Own GitLab Server on Ubuntu 20.04

Imagen
  GitLab CE(Community Edition) is a free and opensource web-based git manager tool & it’s written in Ruby. GitLab CE is generally used for Software development teams, it has a lot of features like version control, code review, monitoring, CI & CD, issue management, wiki, etc. GitLab allows you to host your Git reposit o ry that can be accessed from either your local LAN / WAN / local server or (if you have an available public IP address) from outside your company. The community edition is open-sourced and freely available to install and setup. There are three different editions of GitLab available, Community Edition (CE), Enterprise Edition (EE), and a GitLab-hosted version. In this article, we will go step by step to install the latest version of GitLab CE on Ubuntu 20.04 / 18.04 Server. Below should be your laptop or desktop minimum configuration: RAM: Gitlab recommends 4 GB for Gitlab Setup 2 CPU cores. (optional) Domain or subdomain pointing to the server IP address. Instal