alpine-qbittorrent-openvpn icon indicating copy to clipboard operation
alpine-qbittorrent-openvpn copied to clipboard

keysize deprecated - ipvanish

Open akrea opened this issue 3 years ago • 4 comments

Hi first of all

THANK YOU FOR YOUR TERRIFIC WORK!!!!! MUCH APPRECIATED! I have an issue with using IPVanish

Information

--keysize is DEPRECATED and will be removed in OpenVPN 2.6
Options error: --ca fails with 'ca.ipvanish.com.crt': No such file or directory (errno=2)
Options error: Please correct these errors.

Current setup

docker version 19.03.8, build afacb8b7f0
docker image tag latest

docker-compose.yml

version: "3.5"
services:
  alpine-qbittorrent-openvpn:
        container_name: qbittorrent-vpn
        image: guillaumedsde/alpine-qbittorrent-openvpn:latest
        hostname: qbittorrent-vpn
        cap_add:
            - NET_ADMIN
        networks:
            - t2_proxy
        security_opt:
            - no-new-privileges:true
        # devices:
            # - /dev/net/tun
        restart: unless-stopped
        ports:
            - $QBITTORRENT_PORT:8080
        volumes:
            - /etc/localtime:/etc/localtime:ro
            - $USERDIR/qbittorrent:/config
            - $USERDIR/Downloads:/downloads
        environment:
            OPENVPN_PROVIDER: IPVANISH
            OPENVPN_USERNAME: ${MYEMAIL}
            OPENVPN_PASSWORD: ${PW6}
            LAN: "$LOCAL_NETWORK"
            PUID: 48
            PGID: 100
            TZ: ${TZ}

Attempted Fix(es)

  • So far I only tried to change the openvpn config file. Same error on any valid config.
  • Same IPVanish parameters work on haugenes/transmission-vpn flawlessly

akrea avatar Mar 23 '21 12:03 akrea

Is there a workaround for this?

DataBitz avatar Apr 28 '21 11:04 DataBitz

Is there a workaround for this?

Found that downloading and adding the ca.ipvanish.com.crt file to the openvpn folder directly solves this problem.

DataBitz avatar May 04 '21 11:05 DataBitz

hi, I've switched to haugene's new VPN config repository in recent builds, could you try again and let me know if this issue persists?

guillaumedsde avatar Sep 14 '21 16:09 guillaumedsde

I can confirm this issue is still there with your image and IPVANISH

Out of the box, I pull the image, run the image with my vpn configuration and it's unable to connect with the errors described here.

The missing certificate is located in /etc/openvpn/ipvanish but it looks like openvpn is not looking in that directory

DB-CL avatar Mar 13 '22 10:03 DB-CL