Archive for May, 2017

TIL Remove a Znode from Zookeeper

Yep, you could easily achieve that (and much more) using (Zookeeper client): $ /usr/share/zookeeper/bin/ Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled WATCHER:: WatchedEvent state:SyncConnected type:None path:null [zk: localhost:2181(CONNECTED) 0] help ZooKeeper -server host:port cmd args connect host:port get path [watch] ls path [watch] set path data [version] rmr path delquota [-n|-b] […]

Posted on May 30, 2017 at 12:16 pm by sergeyt · Permalink · Leave a comment

TIL HSTS requires a secure transport

Otherwise (quoting RFC6797): If an HTTP response is received over insecure transport, the UA MUST ignore any present STS header field(s). That means SSL certificate on your server must be valid, i.e. no errors or warnings when you open a page from a browser over https.

Posted on May 25, 2017 at 2:25 pm by sergeyt · Permalink · Leave a comment