1Mono(httpcfg) Mono(httpcfg)
2
3
4
6 httpcfg - Mono Certificate Management for HttpListener
7
9 httpcfg [options] certificate
10
12 This tool is used to manage the certificates used by the HttpListener
13 embeddable server class when the HttpListener is configured as an HTTPS
14 server instead of an HTTP server.
15
16 You must select one of the possible actions: add, delete or list.
17
18 When adding a certificate (-add), you must provide the following infor‐
19 mation: a certificate (with the -cert flag) a Private Key file (with
20 the -pvk argument, the filename is typically "key") and a port number
21 (with the -port flag).
22
23 When deleting a certificate (-del or -delete) you need to provide the
24 port number.
25
27 -add Adds a new certificate/private key combination for being used at
28 a given port by the HttpListener API.
29
30 -del, -delete
31 Deletes the certificates associated for the port specified (must
32 be specified separatedly).
33
34 -list List all known certificates.
35
36 -port PORT
37 Specifies the port to add certificates to, or remove certifi‐
38 cates from.
39
40 -pvk FILE
41 Specifies the Private Key file.
42
43 -cert CERT
44 Specifies the certificate file to use.
45
47 httpcfg -add -port 8081 -pvk myfile.pvk -cert MyCert
48
49 For more details on creating the certificate file and the private key,
50 see the following web page:
51
52 http://www.mono-project.com/UsingClientCertificatesWithXSP
53
55 The certificates are stored in the ~/.mono/httplistener directory
56
58 httpcfg was written by Gonzalo Paniagua.
59
61 Copyright (C) 2006 Novell.
62
64 Visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for
65 details.
66
68 Visit http://www.mono-project.com for details
69
71 makecert(1), signcode(1), cert2spc(1)
72
73 The private key format:
74 http://www.drh-consultancy.demon.co.uk/pvk.html
75
76
77
78 Mono(httpcfg)