Skip to content

DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-128-GCM)Β #41

@marcuscvj

Description

@marcuscvj

I'm trying to connect to a VPS using OpenVPN with this solutions. However I stumble upon this error and I'm not sure what it means and what to do to fix it:

=========== end configuration ===========
running command: sudo openvpn --config ./.github/openvpn/config.ovpn --daemon --log openvpn.log --writepid openvpn.pid
Warning: 2023-02-28 16:23:40 Note: Treating option '--ncp-ciphers' as  '--data-ciphers' (renamed in OpenVPN 2.5).

Error: 2023-02-28 16:23:40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
Options error: If you use one of --cert or --key, you must use them both
Use --help for more information.

Error: command: sudo openvpn --config ./.github/openvpn/config.ovpn --daemon --log openvpn.log --writepid openvpn.pid returned 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions