Comments (11)
Hello @yafitshm, thanks for pointing that out.
You can find the current implementation of what I think may solve this issue in the "issue9" branch.
The trick is to run hapos-upd with --socket "path_to_socket1 path_to_socket2 path_to_socketN"
argument.
Socket files can also be passed using wildcard: --socket "/var/run/haproxy/*.sock"
.
Could you give it a try and let me know if it works for you?
Thanks.
from haproxy-ocsp-stapling-updater.
Hello @yafitshm, did you have a chance to test the new release? Did it work as you expected?
Thanks
from haproxy-ocsp-stapling-updater.
Hi,
It does not work with the wildcard option, but found that this change solves the problem:
echo "set ssl ocsp-response base64 -w 0 $TMP/ocsp.der
" | for file in ls $HAPROXY_ADMIN_SOCKET
; do $SOCAT_BIN stdio $file &>>$TMP/log; done
What do you think?
Thanks.
from haproxy-ocsp-stapling-updater.
Hello @yafitshm, could you provide me more details about the error you receive when using wildcard?
I had some tests and couldn't reproduce any issue.
Thanks
from haproxy-ocsp-stapling-updater.
Hi,
I got an error that it cannot open the second socket. For some reason, I cannot replicate it now.
I have set the wildcard on one of the haproxies to monitor the ocsp status and make sure it is updated on all sockets using the wildcards.
Thanks.
from haproxy-ocsp-stapling-updater.
Hi @yafitshm, can you confirm it is working? If so I'll merge it into master.
Thanks
from haproxy-ocsp-stapling-updater.
Hi,
When running:
hapos-upd -c /path/to/ssl/cert.pem -s "/var/run/haproxy_stats."
I get the following error:
can't update haproxy ssl ocsp-response using /var/run/haproxy_stats. socket
I have double checked it now, and when adding the for loop, it resolves that problem and all processes are getting the ocsp update.
Were you able to verify it also?
Thanks.
from haproxy-ocsp-stapling-updater.
Can't understand why you are not using the *
in haproxy_stats.
Does it work if you put it in?
from haproxy-ocsp-stapling-updater.
from haproxy-ocsp-stapling-updater.
I understand now! In your first message (then edited) you were saying it worked. Then in the second one the *
was not shown (as you can see on the GitHub web page) and this confused me.
I'll double check it and get back to you.
from haproxy-ocsp-stapling-updater.
HAProxy released version 1.8, which includes multithreading and global-master support (for actual multithreading), and this is the preferred method of implementing HAProxy now. Doing so only requires an nbproc 1
setting (or omitting the line), which allows for a single stats socket, bypassing this problem
from haproxy-ocsp-stapling-updater.
Related Issues (7)
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 haproxy-ocsp-stapling-updater.