Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:server:https [2019-03-20 09:57] max |
blocks:server:https [2023-04-24 08:14] (current) admin Improved initial note text |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===HTTPS=== | + | ======Using |
+ | |||
+ | :!: **NOTE**: The method described here has been replaced by the [[blocks: | ||
To make Blocks serve your content over HTTPS you have to add a certificate for your domain and configure Blocks to use it. Follow the steps below: | To make Blocks serve your content over HTTPS you have to add a certificate for your domain and configure Blocks to use it. Follow the steps below: | ||
- | - Place the certificate, ending with .p12, in your PIXILAB-Blocks-root folder (located in the home directory of the user account under which you run the server). | + | - Place the certificate |
- Open your Blocks server configuration file. | - Open your Blocks server configuration file. | ||
- | - Under server.applicationConnectors, | + | - Under server.applicationConnectors, |
- | | + | - Restart Blocks. |
+ | |||
+ | < | ||
server: | server: | ||
type: pixilab_server | type: pixilab_server | ||
+ | requireHttps: | ||
applicationConnectors: | applicationConnectors: | ||
- type: http | - type: http | ||
- | | + | |
- type: https | - type: https | ||
- | port: 9443 | + | port: 8443 |
- | keyStorePath: | + | keyStorePath: |
- | keyStoreType: | + | keyStoreType: |
- | keyStorePassword: | + | keyStorePassword: |
- | </ | + | certAlias: 1 |
- | | + | </ |
- | | + | |
- | | + | |
+ | | ||
+ | | ||
+ | * **certAlias** is the alias name given to the proper certificate in the file (as it may contain more than one). | ||
+ | |||
+ | The // | ||
+ | |||
+ | Once you have HTTPS working on your server, you may also want to switch to the [[blocks: |