![]() ![]() This displays the Create User screen, where you can supply the username, password, groups and other options. To add a user, click Create a new user, which is located at the top of the users table. When creating a user, you can set options for password expiry, the user’s shell, and whether or not they are allowed a home directory. Let’s create a new user called deploy which you can use to host web applications. From here, you can add and manage users and groups. 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:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |