summaryrefslogtreecommitdiff
path: root/doc/design/assistant/blog/day_232__headless_webapp/comment_5_7e51a197ff9970ae50cf47bd3a922257._comment
blob: de4be2556b94792b67e4f4f1b0787ca50982eccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[[!comment format=mdwn
 username="http://joeyh.name/"
 ip="209.250.56.22"
 subject="comment 5"
 date="2014-09-16T18:36:18Z"
 content="""
Note that --listen=address:port had to be removed.

OTOH, the webapp can be run with a https certificate now, which makes remote access much more secure.

The webapp will use HTTPS if it finds
a .git/annex/privkey.pem and .git/annex/certificate.pem. Here's
one way to generate those files, using a self-signed certificate:

    openssl genrsa -out .git/annex/privkey.pem 4096
    openssl req -new -x509 -key .git/annex/privkey.pem > .git/annex/certificate.pem

"""]]