Skip to content

Commit

Permalink
Enable to use not-so-secure SSL communication (UnsafeLegacyRenegotiat…
Browse files Browse the repository at this point in the history
…ion) in LTC
  • Loading branch information
jirik committed Dec 6, 2023
1 parent 87f08aa commit d58bb9b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.demo
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ LAYMAN_CLIENT_URL=http://layman_client:3000/client/

# client
LAYMAN_CLIENT_PUBLIC_URL=http://localhost/client/
LAYMAN_CLIENT_VERSION=v1.17.1
LAYMAN_CLIENT_VERSION=v1.17.2

# extra hosts to be added to /etc/hosts
EXTRA_HOST1=1.2.3.4:1.2.3.4
Expand Down
2 changes: 1 addition & 1 deletion .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ LAYMAN_CLIENT_URL=http://layman_client:3000/client/

# client
LAYMAN_CLIENT_PUBLIC_URL=http://localhost:3000/client/
LAYMAN_CLIENT_VERSION=v1.17.1
LAYMAN_CLIENT_VERSION=v1.17.2


##############################################################################
Expand Down
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ LAYMAN_CLIENT_URL=http://layman_client_test:3000/client/

# client
LAYMAN_CLIENT_PUBLIC_URL=http://layman_test_run_1:8000/client/
LAYMAN_CLIENT_VERSION=v1.17.1
LAYMAN_CLIENT_VERSION=v1.17.2


##############################################################################
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@

## v1.22.3
### Upgrade requirements
- Change environment variable [LAYMAN_CLIENT_VERSION](doc/env-settings.md#LAYMAN_CLIENT_VERSION):
```
LAYMAN_CLIENT_VERSION=v1.17.2
```
### Migrations and checks
#### Schema migrations
#### Data migrations
### Changes
- Improve logging in Layman Test Client related to Passport.js.
- [968](https://github.com/LayerManager/layman/issues/968) Enable to use not-so-secure SSL communication (UnsafeLegacyRenegotiation) in Layman Test Client. It can be activated by environment variable [NODE_OPTIONS](doc/env-settings.md#NODE_OPTIONS):
```
NODE_OPTIONS="--openssl-config=/code/unsafe_openssl.cnf"
```


## v1.22.2
Expand Down
6 changes: 6 additions & 0 deletions doc/env-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ See [`secret` at express-session documentation](https://www.npmjs.com/package/ex
### LTC_SESSION_MAX_AGE
See [`cookie.maxAge` at express-session documentation](https://www.npmjs.com/package/express-session#cookiemaxage).


### NODE_OPTIONS
See [NODE_OPTIONS](https://nodejs.org/docs/latest-v18.x/api/cli.html#node_optionsoptions).

To enable not-so-secure SSL communication (UnsafeLegacyRenegotiation), set `NODE_OPTIONS="--openssl-config=/code/unsafe_openssl.cnf"`.

## Connection to Redis

### LAYMAN_REDIS_URL
Expand Down

0 comments on commit d58bb9b

Please sign in to comment.