mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
README updated
This commit is contained in:
parent
b9067189d5
commit
ed9d3c1df9
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
@ -265,6 +265,28 @@ Example output:
|
|||
|
||||
Go to your browser: http://127.0.0.1:8081
|
||||
|
||||
## Enable SSL (https)
|
||||
|
||||
By default, the explorer does not use ssl. But It has such a functionality.
|
||||
|
||||
As an example, you can generate your own ssl certificates as follows:
|
||||
|
||||
```bash
|
||||
cd /tmp # example folder
|
||||
openssl genrsa -out server.key 1024
|
||||
openssl req -new -key server.key -out server.csr
|
||||
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
|
||||
```
|
||||
|
||||
Having the `crt` and `key` files, run `xmrblocks` in the following way:
|
||||
|
||||
```bash
|
||||
./xmrblocks --ssl-crt-file=/tmp/server.crt --ssl-key-file=/tmp/server.key
|
||||
```
|
||||
|
||||
Note: Because we generated our own certificate, modern browsers will complain
|
||||
about it as they cant verify the signatures against any third party. So probably
|
||||
for any practical use need to have properly issued ssl certificates.
|
||||
|
||||
## Other examples
|
||||
|
||||
|
|
Loading…
Reference in a new issue