-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathconfig.yaml
76 lines (66 loc) · 3.05 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Test configuration for lcpserver and lsdserver.
# It is meant to be used as a quick-start setup.
#
# Replace every occurence of <LCP_SERVER>:<PORT> by the License Server host name or IP address + port.
# Replace every occurence of <LSD_SERVER> by the Status Server host name.
# Replace every occurence of <GATEWAY> by the License Gateway host name.
# Replace every occurence of <LCP_HOME> by the absolute path to the folder hosting every file associated with the LCP service.
# Shared configuration
# The usernames and passwords must match the ones in the htpasswd files for each server.
lcp:
# the public url a client app will use to access the License Server (optional)
public_base_url: "http://<LCP_SERVER>:<PORT>"
lcp_update_auth:
# login and password used by the Status Server to access the License Server
username: "<adm_username>"
password: "<adm_password>"
lsd:
# the public url a client app will use to access the Status Server
public_base_url: "https://<PUBLIC_LSD_SERVER>"
lsd_notify_auth:
# login and password used by the License Server to access the Status Server
username: "<adm_username>"
password: "<adm_password>"
# LCP Server
profile: "basic"
lcp:
# the port on which the License Server will be running
port: <PORT>
# replace this dsn if you're not using SQLite
database: "sqlite3://file:<LCP_HOME>/db/lcp.sqlite?cache=shared&mode=rwc"
# authentication file of the License Server. Here we use the same file for the License Server and Status Server
auth_file: "<LCP_HOME>/config/htpasswd"
# uncomment if lcpencrypt does not manage the storage of encrypted publications
#storage:
# filesystem:
# directory: "<LCP_HOME>/files/storage"
certificate:
# theses test certificates are provided in the test/cert folder of the codebase
cert: "<LCP_HOME>/config/cert-edrlab-test.pem"
private_key: "<LCP_HOME>/config/privkey-edrlab-test.pem"
license:
links:
# leave the url as-is (after <LSD_SERVER> has been resolved)
status: "http://<LSD_SERVER>/licenses/{license_id}/status"
# the url of a REAL html page, that indicates how the user can get back his passphrase if forgotten
hint: "<CUSTOM_HINT_PAGE_URL>"
# LSD Server
lsd:
# the port on which the Status Server will be running
port: <PORT>
# replace this dsn if you're not using SQLite
database: "sqlite3://<LCP_HOME>/db/lsd.sqlite?cache=shared&mode=rwc"
# authentication file of the Status Server. Here we use the same file for the License Server and Status Server
auth_file: "<LCP_HOME>/config/htpasswd"
# in this example, the License Gateway is developed so that adding a license id
# to the host name gives access to a fresh license.
# Keep {license_id} as-is; this is a template.
# Read the doc to know more about how to develop a License Gateway.
license_link_url: "http://<GATEWAY>/{license_id}"
license_status:
register: true
# uncomment the lines below if you're allowing e-lending
#renew: true
#return: true
#renting_days: 60
#renew_days: 7