...
Code Block |
---|
php artisan db:seed |
Crypto provider
Note |
---|
Version 1.1.x (prior to 1.1.5) |
Crypto provider location is a specific case of the above mentioned “default content”. The crypto provider domain name is defined in the SystemParameters
table, SMCryptoProviderDomain
element and optionally the SMCryptoProviderSubdomain
element. The crypto provider port is defined in the SystemParameters
table, SMCryptoProviderPort
element. Both are configured as String.
Note |
---|
Version 1.1.5+ |
Crypto provider information must be set in the .env
file as follows:
Code Block |
---|
# Cryptoprovider setup
CRYPTOPROVIDER_DOMAIN=<domain>
#CRYPTOPROVIDER_SUBDOMAIN=<subdomain>
CRYPTOPROVIDER_PORT=<port>
CRYPTOPROVIDER_CHECKSSL=<...> (false, true or path to SSL certificates) |
Gateway
Note |
---|
Version 1.1.8 |
Crypto provider information must be set in the .env
file as follows:
Code Block |
---|
# Gateway setup
GATEWAY_DOMAIN=<domain>
#GATEWAY_SUBDOMAIN=<subdomain>
GATEWAY_PORT=<port>
GATEWAY_CHECKSSL=<...> (false, true or path to SSL certificates)
GATEWAY_ENABLE=<bool> (false or true) |
Certificates
Note |
---|
Version 1.0.x |
Replace the certificate (fullchain.pem
) and the private key (privkey.pem
) in SAMDeployment/Server/resources/
by your own.
Note |
---|
Version 1.1.x |
The server SSL certificates are located into the Caddy HTTP container, under the /etc/ssl/caddy
directory. The files to be replaced are ca.pem
the CA root certificate, cert.pem
the server certificate and ca.key
the server private key.
Application key
You must replace the APP_KEY in the SAMDeployment/Server/templates/laravel_env
file. You can generate a new one using the following command:
Code Block |
---|
echo "base64:`dd if=/dev/random bs=32 count=1 | base64`" |
Time synchronization
Note |
---|
Version 1.0.x |
To adjust the Docker images time and date to your current location, please update the ““ENV TZ” variable located in the following Dockerfiles:
...
The default value is set to “Europe/Paris”
Note |
---|
Version 1.1.x |
Timezone information must be set in the .env
file as follows:
Code Block |
---|
# Timezone set to Europe
TZ="Europ/Paris" |
Key embedding tool
Note |
---|
Version 1.1.6+ |
The Key Embedding Tools comes with two flavours (debug vs. production). The tool selection is automatic, based on the APP_ENV
variable from the .env
file.
Code Block |
---|
# Deployment type
APP_ENV=dev (or prod) |
The production version of the Key Embedding Tool can only work with ‘protect’ versions of the SDK packages.