]> git.proxmox.com Git - pmg-docs.git/blob - pmgconfig.1-synopsis.adoc
add SSL ceriticate generation doc
[pmg-docs.git] / pmgconfig.1-synopsis.adoc
1 *pmgconfig* `<COMMAND> [ARGS] [OPTIONS]`
2
3 *pmgconfig apicert* `[OPTIONS]`
4
5 Generate /etc/pmg/pmg-api.pem (self signed certificate for GUI and REST
6 API).
7
8 `--force` `<boolean>` ('default =' `0`)::
9
10 Overwrite existing certificate.
11
12
13
14 *pmgconfig dump*
15
16 Print configuration setting which can be used in templates.
17
18
19
20
21 *pmgconfig help* `[<cmd>]` `[OPTIONS]`
22
23 Get help about specified command.
24
25 `<cmd>`: `<string>` ::
26
27 Command name
28
29 `--verbose` `<boolean>` ::
30
31 Verbose output format.
32
33
34
35
36 *pmgconfig init*
37
38 Generate required files in /etc/pmg/
39
40
41
42 *pmgconfig ldapsync*
43
44 Syncronize the LDAP database.
45
46
47
48 *pmgconfig sync* `[OPTIONS]`
49
50 Syncronize Proxmox Mail Gateway configurations with system configuration.
51
52 `--restart` `<boolean>` ('default =' `0`)::
53
54 Restart services if necessary.
55
56
57
58 *pmgconfig tlscert* `[OPTIONS]`
59
60 Generate /etc/pmg/pmg-tls.pem (self signed certificate for encrypted SMTP
61 traffic).
62
63 `--force` `<boolean>` ('default =' `0`)::
64
65 Overwrite existing certificate.
66
67
68
69