![]() ![]() #Enable https for bitnami owncloud update#Once you obtain the certificate and certificate key files, you will need to update your server to use them. IMPORTANT: For security reasons, never post or disclose your server’s SSL private key in a public forum. You can either generate this on your own (explained here) or you can purchase one from a commercial certificate authority. Although this dummy certificate is fine for testing and development purposes, you will usually want to use a valid SSL certificate for production use. NOTE: The steps below assume that you are using a custom domain name and that you have already configured the custom domain name to point to your cloud server.īitnami images come with SSL support already pre-configured and with a dummy certificate in place. Refer to the FAQ for more information on these changes. The output of the command indicates which approach (A or B) is used by the installation, and will allow you to identify the paths, configuration and commands to use in this guide. To identify your Bitnami installation type and what approach to follow, run the command below: $ test ! -f "/opt/bitnami/common/bin/openssl" & echo "Approach A: Using system packages." || echo "Approach B: Self-contained installation." On account of these changes, the file paths stated in this guide may change depending on whether your Bitnami stack uses native Linux system packages (Approach A), or if it is a self-contained installation (Approach B). NOTE: We are in the process of modifying the file structure and configuration for many Bitnami stacks. $ sudo /opt/bitnami/ctlscript.TIP: To quickly get started with HTTPS and SSL, follow these instructions to auto-configure a Let’s Encrypt SSL certificate. Repeat the above change for any other virtual hosts you may have defined.Īfter modifying the Apache configuration files, restart Apache to apply the changes. $ sudo /opt/bitnami/ctlscript.sh restart apacheĪpproach B: Self-contained Bitnami installationsĪdd the following lines in the default Apache virtual host configuration file at /opt/bitnami/apache2/conf/bitnami/nf, inside the default VirtualHost directives, so that it looks like this: Īfter modifying the Apache configuration files, restart Apache to apply the changes. NOTE: Replace the PORT placeholder with the port number used by the virtual host. Once the module is active, follow the steps below: Approach A: Bitnami installations using system packagesĪdd the following lines in the default Apache HTTP virtual host configuration file at /opt/bitnami/apache2/conf/bitnami/nf, inside the default VirtualHost directive, so that it looks like this: Īdd the following lines in the default Apache HTTPS virtual host configuration file at /opt/bitnami/apache2/conf/bitnami/nf, inside the default VirtualHost directive, so that it looks like this: Īdd the following lines in any Apache virtual host file defined inside the /opt/bitnami/apache2/conf/vhosts/ directory, inside the default VirtualHost directive for each file, so that it looks like this: To enable this module, follow these instructions. Refer to the FAQ for more information on these changes.īitnami stacks ship with the mod_http2 module installed, but it is not enabled by default. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |