configuring tls1.1 in erlang otp 22/23 or 24

The LAB service is running and active, the idea is for the user-side application to make RADIUS calls with tlsv1.

When I type this parameter, the testssl.erl program works

erl -ssl protocol_version “[‘tlv1.3’,‘tlsv1.2’, ‘tlsv1.1’,‘tlsv1’]”

My big problem is that I can’t pass this parameter in lab.service, it always gives an error and doesn’t activate the service.

Below screen print of the systemctl status lab. I can’t in ExecStart configure the erlang daemon to accept -ssl protocol_version …

lab.service - “Labortorio Universidade Federal.”
Loaded: loaded (/lib/systemd/system/lab.service; enabled; vendor preset: e>
Active: active (running) since Fri 2021-06-04 15:35:17 UTC; 24h ago
Process: 71045 ExecStart=/usr/lib/erlang/bin/run_erl -daemon /run/lab/ log >
Tasks: 54 (limit: 486)
Memory: 54.8M
CGroup: /system.slice/lab.service
├─71047 /usr/lib/erlang/bin/run_erl -daemon /run/lab/ log ERL_LIBS>
├─71048 /usr/lib/erlang/erts-10.6.4/bin/beam.smp -K true -A 32 -Bi>
├─71092 erl_child_setup 1024
├─71119 sh -s disksup
├─71120 /usr/lib/erlang/lib/os_mon-2.5.1/priv/bin/memsup
└─71122 /usr/lib/erlang/lib/os_mon-2.5.1/priv/bin/cpu_sup

Is there any solution? Thanks.

1 Like