![]() Let’s explore how to manage the users and groups on your server.įirst, click the System dropdown menu in the left-hand sidebar, and then click the link for Users and Groups. Let’s look at how to create a new user, and then explore how to update your system’s packages using Webmin. Webmin has many different modules that can control everything from the BIND DNS Server to adding users to the system. You’ve now set up a secured working instance of Webmin. Your browser should now indicate that the certificate is valid. Wait around 30 seconds, and then reload the page and log in again. From that page, scroll down and click the Restart Webmin button. To use the new certificate, click the Return to Webmin configuration button on the confirmation screen. After a few seconds, you will see a confirmation screen. For Months between automatic renewal section, deselect the Only renew manually option by typing 1 into the input box, and select the radio button to the left of the input box.Ĭlick the Request Certificate button.Assuming you followed the prerequisite Apache tutorial this will be /var/www/ your_domain. For Website root directory for validation file, select the Other Directory button and enter your website’s document root.Fill in Hostnames for certificate with your FQDN.Follow these steps to set up your certificate: ![]() Let’s Encrypt looks for a verification file on the server, so we’ll configure Webmin to place the verification file inside the folder /var/www/ your_domain, which is the folder that the Apache web server you configured in the prerequisites uses. Let’s Encrypt certificates expire after 3 months, but you can instruct Webmin to automatically attempt to renew the Let’s Encrypt certificate every month. On this page, you’ll tell Webmin how to obtain and renew your certificate. You’ll see a screen like the following figure: Then click the Save button at the bottom of the page to apply the setting.Īfter you’ve set your hostname, click on the Webmin dropdown menu in the left-hand navigation bar, and then click on Webmin Configuration.įrom the Webmin Configuration page, select SSL Encryption from the list of icons, and then click on the Let’s Encrypt tab. Locate the Hostname field, and enter your Fully-Qualified Domain Name into the field. This will take you to the Hostname and DNS Client page. Look for the System hostname field and click on the link to the right, as shown in the following figure: Before you can apply a valid certificate, you have to set the server’s hostname. Once you log in, the first screen you will see is the Webmin dashboard. Sign in with the non-root user you created while fulfilling the prerequisites for this tutorial. Allow the exception and proceed to your domain so you can replace the self-signed certificate with one from Let’s Encrypt. This warning may say something different depending on your browser, but the reason for it is that the server has generated a self-signed certificate. Note: When logging in for the first time, you will see an “Invalid SSL” warning. Then add this line to the bottom of the file to add the new repository: We do this by adding the repository to the /etc/apt/sources.list file. Then we need to add the Webmin repository so that we can install and update Webmin using our package manager. To configure this, follow these instructions on DNS hosting on DigitalOcean.įirst, update your server’s package index if you’ve not done so recently: A Fully-Qualified Domain Name (FQDN), with a DNS A record pointing to the IP address of your server.As you follow this prerequisite guide, be sure to configure a virtual host. Apache installed by following our tutorial on How To Install the Apache Web Server on Ubuntu 20.04.Set this up by following our Ubuntu 20.04 initial server setup guide. This server should have a non-root user with sudo privileges and a UFW firewall configured. To complete this tutorial, you will need: You’ll then use Webmin to add new user accounts, and update all packages on your server from the dashboard. In this tutorial, you’ll install and configure Webmin on your server and secure access to the interface with a valid certificate from Let’s Encrypt. With Webmin, you can manage user accounts, configure DNS settings, and change settings for common packages on the fly. Webmin is a modern web control panel that allows you to administer your Linux server through a browser-based interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |