Giter Club home page Giter Club logo

Comments (4)

np5 avatar np5 commented on September 18, 2024

You need to check in the api section of the configuration (base.json) that you have a base_url key with the path of the private key corresponding to the tls certificate as value. The key is used to sign the configuration profile for the santa configuration. We do not touch the /var/db/santa/config.plist anymore.

from zentral.

mm-johnpeterson avatar mm-johnpeterson commented on September 18, 2024

@np5 thanks for the response. Just to make sure I understand that correctly, because it looks odd when I configure it.
"api": { "secret": "longAPIsecret", "base_url": "/etc/letsencrypt/archive/zentral.mycompany.com/privkey1.pem", "tls_server_certs": "/home/zentral/conf/zentral.mycompany.com_fullchain.pem", "tls_hostname": "https://zentral.mycompany.com" },

Looking at the walk through on https://medium.com/@zentral/zentral-on-gcp-tutorial-chapter3-1e224e830140 the api section looked like mine did before adding the base_url key.
screen shot 2018-12-11 at 11 17 08 am

I set up using lets encrypt, and the only private keys I can find are the ones in the /etc/letsencrypt directory. But looking at this the base_url would be the value of tls_hostname no?

from zentral.

np5 avatar np5 commented on September 18, 2024

My mistake, sorry. I was not really awake.tls_server_key, not base_url:

{
  "api": {
    "secret": "longAPIsecret",
    "tls_server_certs": "/home/zentral/conf/zentral.mycompany.com_fullchain.pem",
    "tls_server_key": "/etc/letsencrypt/archive/zentral.mycompany.com/privkey.pem",
    "tls_hostname": "https://zentral.mycompany.com"
  }
}

And probably privkey.pem, and not privkey1.pem, but maybe you have a different letsencrypt state.

from zentral.

mm-johnpeterson avatar mm-johnpeterson commented on September 18, 2024

That fixed my problem. Thank you for your help!

from zentral.

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.