Полезная информация

How to install an SSL certificate on Node.js

Once a CSR code is generated and the certificate is issued, the codes with your domain certificate and CA bundle will be emailed to you by Certificate Authority, or you can download them from Amber IT The installation implies performing 2 steps: uploading the required files to a needed directory on a server and creating an HTTPS server in node.js environment. The main idea of node.js is creating an endpoint asynchronous server (something like a responder) in the command-line interface. Thus, your server code should be corrected with the following lines: var https = require(‘https’); var fs = require(‘fs’); var options = { key: fs.readFileSync(‘/path/to/private.key’), cert: fs.readFileSync(‘/path/to/certificate.crt’), ca: fs.readFileSync (‘/path/to/bundle.ca-bundle’) }; https.createServer(options, function (req, res) { where: /path/to/bundle.ca-bundle – full path to the uploaded .ca-bundle file /path/to/private.key – full path to your private key generated along with CSR and stored on the server /path/to/certificate.crt – full path to the end-entity certificate. Note that a hostname…

What is Comodo CA rebrands as Sectigo

Comodo CA (Certification Authority), our SSL certificate provider has changed their brand name to Sectigo CA as of November 2018. Comodo CA has been our exclusive partner since December 2016. Comodo CA is the largest commercial SSL provider and has issued more than 100 million TLS/SSL certificates. What has changed? Company and brand name. Trust logo image and snippet. The new Comodo site address is sectigo.com. SSL DCV and validation messages will eventually be sent from email addresses at sectigo.com. This change does not affect the functionality of the existing SSL certificates or the certificates that are going to be issued. Please find more information below. FAQ Should I do anything with my active Comodo CA certificate?      No. There is no need to reissue or reinstall your SSL certificate. Will Comodo CA be displayed as the certificate issuer in users’ web browsers?      Yes. Comodo CA will remain as the Certificate Authority shown in browsers…

Instruction on how to install an SSL certificate on Google Cloud Platform

After you have purchased an SSL certificate you will need to activate it and once your certificate passed the activation, validation and was issued by the Certificate Authority, you can proceed with the installation steps. SSL certificate installation for your Google Cloud application can be performed in a few steps: –    Download the archive with the certificate files from your Amber IT account or from the email sent to you from the Certificate Authority. (The ZIP archive will contain yourdomain.crt, yourdomain.p7b, and yourdomain.ca-bundle files. Only yourdomain.crt and yourdomain.ca-bundle files have to be used during the installation). Sign into your Google Cloud account Navigate to Products & services >> App Engine: Open Settings in the App Engine menu and click on the SSL certificates tab on the next page: Upload a new certificate is an option that we are looking for. It will open the Add a new SSL certificate menu upon a click. The next…

How to generate a SSL certificate CSR on Google Cloud platform

A Certificate Signing Request (CSR) can be generated right from your Google Cloud platform account. This can be done with the help of a built-in Command Line Console available in your account. It’s called “Google Cloud Shell”. Cloud Shell is only available for the accounts that have a Project created. More information on how to enable Google Cloud Shell can be found here. Once Cloud Shell is enabled, you are ready to proceed with the CSR generation. Click on the Activate Google Cloud Shell button from the top menu bar to open the console: The console window will appear at the bottom of the page: As provided on the screenshot, the console will open the current user’s home directory – /home/user. A Certificate Signing Request can be generated in this directory or any other directory convenient for you. Run the following OpenSSL command to create a CSR: openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key…

How to generate a CSR code for SSL certificate in cPanel

Before you start. There are a few steps required to generate a CSR in your hosting provider's cPanel. Following them, you will successfully arrive at the SSL activation step. 1. Log in to your hosting provider's cPanel account. 2. In the Security section click on SSL/TLS Manager. 3. Click on Generate, view, or delete SSL certificate signing requests within the Certificate Signing Requests (CSR) menu.On the next screen, you’ll need to fill out the certificate details as follows: *All obligatory fields are marked with the asterisks. 1) Leave “Generate a New 2048 bit key” selected for the Key*; 2) Specify the domain (subdomain) the certificate will be used for in the Domains* field; Important: Ensure you use a Fully Qualified Domain Name (FQDN). Important: If you have a Wildcard certificate, the domain should be specified with an asterisk to secure the subdomains, e.g. “*.testcert.us”. The Wildcard certificate activated using such CSR will be valid for…

How to generate a CSR code for SSL Certificates on Node.js

In this tutorial, we will have a look at generating a CSR code for SSL certificate on Node.js Certificate Signing Request (CSR) is an encoded text which contains details about the domain a certificate needs to be issued for and your contact details. The CSR code can be generated on Node.js with the help of the OpenSSL utility. OpenSSL is usually included in the default package and does not require an additional installation. If there is no OpenSSL in the modpack, it can be downloaded with the following commands: For Debian/Ubuntu based operation systems: sudo apt-get install openssl For Centos/Rhel (Red Hat) based operation systems: sudo yum install openssl Alternatively, the OpenSSL utility can be downloaded here. In order to generate a CSR code and an RSA private key on Node.js, it is necessary to run the following command: openssl req -new -newkey rsa:2048 -nodes -keyout domain.key -out domain.csr It is recommended to replace domain.key…

Definition of DNSSEC records and use

Similar to digital signatures for e-mail, DNSSEC authenticates that DNS records originate from an authorized sender (DNS server) using private/public-key cryptography. The main purpose of this is to protect DNS against falsified information (DNS spoofing). DNSSEC does NOT encrypt or hide anything - all data is still in "clear text". Its only purpose is the verification of data authenticity. Concepts DNSSEC signingWhen a zone is DNSSEC signed, a number of DNS records are added to the zone (indeed DNSSEC signing a zone can make it many times larger).First, a DNSKEY-record is added for each key used to sign the zone. DNSKEY-records hold the public keys that clients can use the verify signatures.Next, an NSEC-record or NSEC3-record is added for each unique record name in the zone (+ a single NSEC3PARAM-record if using NSEC3). Each NSEC/NSEC3 record lists all the record types that exist for the name that it represents, and points to the next record…

How to Back Up Your Website

It is always recommended to keep a backup copy of your websites in case their configuration or content becomes damaged or lost. Amber IT is providing a 7 Day backup to all our shared hosting client data, That includes website files, MySQL databases, e-mails, This backup is encrypted therefore it takes a longer time to backup your data, but safety and security come first. After our system has finished performing a backup of your host it automatically generates a 48 character long key for the encrypted backup, the key is used for our system to restore the backup, therefore the backup cannot be restored on a different system. All encrypted backups are stored in 4 different locations on different backup servers, which also are encrypted, and using modern technology backup solutions, the connection between servers is also encrypted and allowed access is only from specific IP addresses and specific SSH keys, that also have 25…

How to Change Your Password and Log Out

If you are our web hosting customer, it is likely that the password you use to log in to our hosting control panel was sent by our system automatically on your e-mail once you have ordered and paid for your service. To change it, hover your mouse pointer over your user name located at the top of the page and click Edit Profile. Now that we have performed all the desired tasks, it is time to log out of our hosting control panel. Hover your mouse pointer over your user name located at the top of the page and click Log out. If you need some assistance, please feel free to contact our support team and we will help you. If you have forgotten or lost your password. Then also please open a ticket using our self-service system or write an e-mail to amberit@amberit.org and our team will help you.

What’s SPF Record?

What’s an SPF record? An SPF record is a Sender Policy Framework record. It’s used to indicate to mail exchanges which hosts are authorized to send mail for a domain. It’s defined in RFC 4408 and clarified by RFC 7208. SPF record format SPF records are typically defined using the TXT record type. There’s also an SPF record type, but it’s deprecated, and you should always have at least the TXT record definition present, even if you use the SPF type. SPF records are defined as a single string of text. Here’s an example record: v=spf1 a mx ip4:69.64.153.131 include:_spf.google.com ~all The SPF record always starts with the v= element. This indicates the SPF version that is used. Right now, the version should always be spf1 as this is the most common version of SPF that is understood by mail exchanges. One or more terms follow the version indicator. These define the rules for which hosts…

What’s a DKIM Record

DKIM Records DKIM stands for DomainKeys Identified Email. It provides a way to validate that an organization delivering an email has the right to do so. Amber IT also automatically generates and adds DKIM to your hosted DNS entries on our server. This is used so that e-mail providers accept your letters and with also our added SPF records don't mark them as SPAM. Setting up DKIM DKIM requires the addition of public keys into your DNS zone. The key is often provided to you by the organization that is sending your email, for example, SendGrid, Postmark, or Google Apps. The key will either be inserted directly into your zone as a TXT record, or it will be a CNAME pointing to the key in your provider’s DNS. If you’re given a string representing the DKIM, it usually looks something like this: k=rsa; t=s; p=MIGfMA0Gegeth4sAQUAA4GNADCBiQKBgQDGMjj8MVaESl3sfsOVh15u9YK2AmTLgk1ecr4BCRq3Vkg3Xa2Qrwfwfj9FNqBYOr3XIczzU8gkK5Kh42P4C3DgNi5ITN/EvVAn/ImjoGq5IrcO+hAj2iSAozYTEpJsvF33G41245tgfdskj5JI6ibyJwIDAQAB Insert this into a TXT record. Do this by following the…

How to Add a Custom DNS Record

Sometimes you need to add a specific DNS Record in most common cases, the clients are using the Custom DNS for a test website, for a specific app, or even sometimes clients use specific servers to store images or media files. If the client has several servers, in some cases they use subdomains to identify servers. If you purchase a domain and want to use our NS servers, then this "How to" also will be useful. DNS records serve to facilitate domain name translation and help visitors reach your website online. When a domain is created, all the necessary DNS records are added automatically. However, Amber IT also enables you to add custom DNS records, as explained below. To add a custom DNS record to the domain’s DNS zone, go to Websites & Domains > DNS Settings > Add Record. Once you click Add Record. then you can choose the record type. A, AAAA, NS,…

Overview of our hosting web Interface

Our web hosting customers can easily perform a wide variety of tasks using a robust and easy to use web interface. It includes all the necessary tools to create and manage websites, mailboxes, databases, and so on. Let us take a look at a screenshot displaying our chosen self-service web interface and examine how various tools are arranged there: This section displays the name of the user who is currently logged in and the currently selected subscription. The user can change the properties of their user account and choose what subscription they want to manage. This section contains the Help menu. The Help menu lets users access a context-sensitive online guide and watch video tutorials. This section features the Search field. This section holds the navigation pane with various items that help organize the Amber IT interface. Tools are grouped by function, for example, the tools enabling users to manage web hosting settings are found…

How to Set Up Anonymous FTP Access

Sometimes you need to give someone access to an FTP to download some large files or many files. We personally know software agencies, that uses FTP servers on what is stored there developed software installation files, that they give users to download. So for this and other reasons, some companies need an Anonymous FTP. In this Knowledgebase entry, we will show you, how to create one on www.amberit.org shared hosting. To access the hosting control panel you already should have received an e-mail with all credentials. If you aren't our client, then you can order our services once the first payment is made our system will automatically setup your shared hosting account and send all the information to your e-mail. Setting Up Anonymous FTP Access 1. You would need to contact our support and require a dedicated IP for your shared Webhosting or purchase it using our self-service system https://my.amberit.org. Once you have a dedicated…

How to upload files and content using File Manager

To upload a website from your computer to the www.amberit.org shared web hosting using File Manager: On your computer, add the folder containing your website’s files to an archive (ZIP, RAR, TAR, TGZ, or TAR.GZ). In www.amberit.org shared hosting management panel, go to Files, click the httpdocs folder to open it, click Upload, select the archive file, and then click Open. Once the file has been uploaded, select the checkbox next to it and then click Extract Files. Editing Files in File Manager By default, you can edit pages of your website in File Manager using: HTML editor, a WYSIWYG editor, which automatically adds the necessary HTML tags. You can use this editor if you are not familiar with HTML. Code editor, which opens HTML files as text files and highlights HTML syntax. Best suited for those who want to add HTML tags manually. Text editor, which opens HTML files as plain text. www.amberit.org shared…

How to Set File and Directory Access Permissions

To review or change the permissions set for files and directories on Linux systems: 1.Go to Files. The permissions set for files and directories are shown in the Permissions column. They are represented as three sets of symbols, for example, ‘rwx rwx r–’. The first set tells what the owner of the file or directory can do with it; the second tells what the user group, the file or directory belongs to, can do with the file or directory; the third set indicates what other users (the rest of the world, that is, Internet users, visiting a site) can do with the file or directory. R means the permission to read the file or directory, W means the permission to write to the file or directory, and X means the permission to execute the file or look inside the directory. 2.Locate the file or directory for which you want to modify permissions and click a…

How to Schedule a Task

Sometimes, some scripts or WordPress requires an automatic task to be performed. On www.amberit.org shared web hosting you can schedule these tasks to be automated. With the modern technology that we provide, you can also set automatical notifications via e-mail if task has run and what is the status, also there is an option that you can create an e-mail notification when the task has failed so that you know and can resolve the issues. To schedule an automatic task: 1.You need to have an active Amber IT shared hosting, if you don't have one no worries you can order one and after the 1 payment is received you will automatically get access to our shared hosting control panel. If you make payment via PayPal or Credit card the hosting is activated in 5-10 minutes. 2.To created or see scheduled tasks for a subscription, go to Websites & Domains > Scheduled Tasks. For every task…

How to use Node.js on our shared hosting

To install a Node.js application on your website, you need to upload the application’s files to the server first. You can upload them via FTP you can read more about it in our Knowledgebase entry How to upload files on a www.amberit.org shared hosting using ftp click here or using the File Manager to find out more on How to upload files and content using file manager click here.   To set your application up, go to Websites & Domains and click Node.js. On this screen you can see a number of controls that will help you manage your Node.js application: Node.js Version. This control displays the currently selected version of the runtime environment that will be used to run your application. Click the version number to select a different Node.js version. Document Root. Here you can set the domain’s document root directory, which must be a subdirectory of the application root directory, specified below. Application Mode.…

How to upload files on a www.amberit.org shared hosting using FTP

FTP stands for File Transfer Protocol, a method of transferring files over the Internet. To upload files via FTP, you will need a special program called an FTP client. FileZilla is a free and reliable FTP client. You can download it here: https://filezilla-project.org/download.php?type=client The FileZilla documentation can be found here: https://wiki.filezilla-project.org/Documentation Of course, you are free to use a different FTP client if you choose. To connect to an FTP server, you need the following information: FTP server address. The FTP address should be ftp://ftp.amberit.org FTP username. It is identical to your cp.amberit.org or win1.amberit.org system username. Note that the system username may differ from the username that you use for logging in to amberit.org hosting control panel. To find what your system user name is, go to Websites & Domains and click Web Hosting Access. You will find it under Username. You can change your system username if you want. FTP password. It is…

How to add a additional FTP accounts on www.amberit.org shared hosting

If you are working on your website together with someone else or host subdomains for other users, for security reasons we highly recommend you to create a separate FTP accounts for them. To create an additional FTP account: Go to Websites & Domains and click FTP Access. Click Add FTP Account. Specify the following: FTP account name. Type the desired user name. Home directory. Select the directory to which the user will be taken when he or she connects to the FTP account, this option can give you an advantage if the user only needs to upload a media files, like images or other or for example download some system export files. FTP password. We recommend you to use generate password function once the password is generated click on the show make a copy. We recommend writing down password in a safe place that isn't accessible by 3-party for your own website and data protection.…