Security Tutorial
The Light platform is following security first design as most of our customers are big financial companies and they need to ensure confidentiality, availability, and integrity first then scale the system to lower the production cost and development cost.
When the platform was designed, we focused a lot of efforts on the security details and made a lot of default configuration so that our customers won’t need to do extra things to bring up a system securely. Once they feel comfortable, they can start to configure their services based on their business requirement or non-functional requirement.
In this section, we have several tutorials related to security configurations and implementations.
It is essential to understand the basic terminologies and formats of certs and keys before proceeding other tutorials.
How to set up your service to bootstrap from light-oauth2 key service for JWT signature verification public key certificate distribution.
How to encrypt and decrypt sensitive info from config files.
How to use customized decryptor to decrypt sensitive properties in config files.
How to use keystore and truststore for one-way and two-way TLS.
How to create keystore for the light-config-server TLS and bootstrap.truststore for light-4j service.
How to export the cert and private key from the light-config-server and import them into the light-router server.keystore and client.truststore
A real example on adding server public key certificate to client.truststore to access public service on the Internet with HTTPS.
How to install a self-signed or commercial CA-signed server certificate to light-4j service
How to get free Let’s Encrypt certificate for public-facing light-4j secd rvice
How to convert CA-signed certificate to server.keystore that can be used by light-4j service
Running light-4j service on port 443 using iptables
How to use environment variables for config values
How to create self-signed client and server keystore for light-4j server
How to create self-signed JWT key and cert for light-oauth2 and light-4j service
How to generate keystore and truststore from PFX for light-4j service
How to use Okta OAuth 2.0 provider for light-4j service