Git Product home page Git Product logo

Comments (4)

sssilver avatar sssilver commented on May 18, 2024 1

Hi @alexfd,

We now support loading a custom CA out of a PEM-encoded file. Here's how to use it.

from cloudflared.

dknecht avatar dknecht commented on May 18, 2024

We should probably include cfssl-trust

from cloudflared.

alexfd avatar alexfd commented on May 18, 2024

That would be even nicer. Updates to it would be trivial since the service automatically updates every 24h by default.

from cloudflared.

alexfd avatar alexfd commented on May 18, 2024

Thinking a bit more on this and just had a d'oh moment.
As per OpenELEC/OpenELEC.tv#4941, it seems this location is also queried:

// Possible directories with certificate files; stop after successfully
// reading at least one file from a directory.
var certDirectories = []string{
        "/etc/ssl/certs",               // SLES10/SLES11, https://golang.org/issue/12139

So as a workaround one can do:

mkdir -p ~/ssl/certs
wget https://curl.haxx.se/ca/cacert.pem -O ~/ssl/certs/cacert.pem
mount ~/ssl /etc/ssl    #no certs dir in /etc/ssl, thus created manually

./cloudflared proxy-dns --address 0.0.0.0

dig @192.168.1.5 cloudflare.com
cloudflare.com.         600     IN      A       198.41.215.162
;; Query time: 12 msec

COOL.

from cloudflared.

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.