Giter Site home page Giter Site logo

Comments (10)

tboerger avatar tboerger commented on June 29, 2024

The standard go http client ignores ca certificates of the system. It could be an option to integrate github.com/jackspirou/syscerts into this plugin.

from drone-gitea-release.

xoxys avatar xoxys commented on June 29, 2024

Looks outdated but seems to be a solution in general

from drone-gitea-release.

tboerger avatar tboerger commented on June 29, 2024

It haven't been updated for a while, but still works pretty good.

from drone-gitea-release.

xoxys avatar xoxys commented on June 29, 2024

What about this? https://golang.org/src/crypto/x509/root_linux.go seems to be a buildin functionality

I am also wondering because i get an error from x509 because not root found

from drone-gitea-release.

tboerger avatar tboerger commented on June 29, 2024

The client is not configured with any root certs.

And the mentioned lib at least got some windows support which is important for the drone on Windows preparation.

from drone-gitea-release.

xoxys avatar xoxys commented on June 29, 2024

The client is not configured with any root certs.

Right, but for my understanding all plugins should support the global DRONE_VOLUME variables to passthrough a tls chain

from drone-gitea-release.

tboerger avatar tboerger commented on June 29, 2024

Right, but for my understanding all plugins should support the global DRONE_VOLUME variables to passthrough a tls chain

Why? That's not defined anywhere. Beside that, DRONE_VOLUMES can mount anything, not only certs.

from drone-gitea-release.

xoxys avatar xoxys commented on June 29, 2024

You are right there is no definition for a standard way to handle self signed vertificates in drone and over the whol pipeline. But there should be a global method... because for now it is a mess if you use self signed certificates. You dont think so?

From what i am reading here https://discourse.drone.io/t/0-8-git-self-signed-problem/974 it sound like "you can do it that way and it works" and not like "maybe it works maybe not, who knows"

from drone-gitea-release.

tboerger avatar tboerger commented on June 29, 2024

The plugin got to support custom root certificates. If it doesn't support it feel free to contribute it.

By gitea instance also uses a custom root certificate and it works fine.

from drone-gitea-release.

xoxys avatar xoxys commented on June 29, 2024

works

from drone-gitea-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.