Comments (12)
http://stackoverflow.com/questions/5896380/https-connection-using-pem-certificate has an example how to do this with urllib2/httplib from the Python standard library
from nagstamon.
Due to some vacation I will check this issue in some days.
from nagstamon.
I need this feature too, anything new about it ? Thanks!
from nagstamon.
The now used Requests modules supports server certificate verification and use of client certificates, but the private key of a client certificate has to be unencrypted: http://docs.python-requests.org/en/master/user/advanced/#ssl-cert-verification
I am not sure if this will get it into the upcoming 2.0 release, but later this is an option.
from nagstamon.
hello, is there an update on this topic? We'd like to add our icingaweb2 server, which is only reachable with a specific client certificate.
Thanks!
from nagstamon.
According to the mentioned https://docs.python-requests.org/en/master/user/advanced/#ssl-cert-verification client certificates still have to be unencrypted.
Aside this there is still no support for it in Nagstamon.
from nagstamon.
This function would also be a big advantage for me. Our monitoring server is only accessible via SSH and HTTPs with client certificate. I would not like to maintain each user again in the operating system. Unfortunately I cannot find the place in the source code where I would have to add the certificates. Of course, a path in the config would be nicer, but I would also be able to store a fixed path for my colleagues in the manual (a client pem in the certifi folder?).
from nagstamon.
I assume you look for https://github.com/HenriWahl/Nagstamon/blob/master/Nagstamon/Servers/Generic.py#L218 and the following - at least there the HTTP-connection is set up.
from nagstamon.
No, I didn't suspect it there. I had searched in the product specific Python files.
from nagstamon.
The request modules does not support client certificates.
from nagstamon.
What about https://docs.python-requests.org/en/master/user/advanced/#client-side-certificates ?
from nagstamon.
The big message there:
Warning
The private key to your local certificate must be unencrypted. Currently, Requests does not support using encrypted keys.
This doesn't sound that great.
from nagstamon.
Related Issues (20)
- show alias HOT 3
- Monitor name int instance HOT 2
- SyntaxWarning: invalid escape sequence with Python 3.11.8 HOT 1
- Nagstamon v.3.14.0 problems to show services HOT 1
- Recheck not working on Thruk 3.12 HOT 6
- Nagstamon 3.14 inplace upgrade No longer working with Thruk instance. HOT 3
- Nagstamon 3.14 not starting since Plasma 6 HOT 31
- Nagstamon 3.14 - Changing network does not refresh the application
- Nagstamon 3.14.0 and 3.10.1 not working with Zabbix 6.4.12 HOT 10
- Nagstamon-3.14.0-win64_setup.exe and threat W64/S-e4cd4610!Eldorado HOT 5
- nagstamon v3.14.0 on Win11 23H2 - icinga KeyError host_name HOT 1
- 3.14 locks up at start HOT 4
- Updating nagstatmon from 3.10.1 to 3.14.0 breaks on Windows 2022 HOT 1
- Nagstamon 3.14.0 and Zabbix 6.2.9 - All information copy not complate
- Regex duration issue
- ValueError when parsing QT_VERSION_STR HOT 8
- AttributeError with Icinga DB 1.2.0 / Icinga DB Web 1.1.2 HOT 2
- Help for integration HOT 3
- [Feature][Integration] Opsgenie HOT 1
- Display own columns from check_MK view in nagstamon HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nagstamon.