checkssl | checks ssl certs for a set of domains | TLS library
kandi X-RAY | checkssl Summary
kandi X-RAY | checkssl Summary
With the good work by "Let’s Encrypt" in providing free SSL certs for users, I wanted a quick way to check all the domains I look after to determine which ones have correct SSL certs, and which ones are in need of updating etc. This bash file is the first draft of a program to do that. It can either be run against a list of file names, from the directories in your Lets Encrypt live directory or on a single server with the aim of getting all the domain names from the server.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of checkssl
checkssl Key Features
checkssl Examples and Code Snippets
Community Discussions
Trending Discussions on checkssl
QUESTION
we are currently experiencing an issue with our web based application. It runs well under any OS win2k12 R2 and higher on an IIS. The application is compiled targeting .net Framework 4.5.1. Whilst we are aware of newer .NET Framework versions, we struggle with the update due to several inconvenient 3rd party dependencies.
Recently, Microsoft released KBs which implicitly installed .NET Framework 4.7.2. It is customers with these updates installed, that face a major issue right now.
The following code, while oversimplified, contains all necessary information.
...ANSWER
Answered 2018-Jul-12 at 14:56Try setting these registry settings:
QUESTION
Using the HTTP server in Vert.x 2.1.6 (based on Netty 4.0.21) to handle HTTP requests, static files are read from the file system and written to the client. Occasionally, during multiple simultaneous requests (read: rapid clicking in the browser), a random request never gets any response. E.g. clicking the logout link will trigger requests for background image, a logo, a couple of css files etc. All files are returned successfully except, say, the logo file, for which the http request just hangs. The situation does not always occur, but seems to be triggered by not waiting for previous requests to finish before launching new ones.
To try to figure out what is going on, I added LoggingHandlers to the netty pipeline created by the Vert.x DefaultHttpServer. The example below shows output for a successful and an unsuccessful request for the file logo.png (size 12754B). The output leaves me with two questions:
- In the successful example, after writing the 12754 bytes of the actual file, another 12774 + 10 bytes are written. What are those bytes?
- In the unsuccessful example, there is a FLUSH operation before the WRITE operation, after which no more activity can be seen. Even explicitly closing the response is ignored. What is going on?
EDIT regarding question 1: I realized the channel is used for multiple HTTP requests, so the trailing bytes are just another file being written.
The request:
...ANSWER
Answered 2017-Oct-09 at 14:29So it seems I found the source of the error. To me, it looks like a classic concurrency issue. I fixed it by changing a single line of code in vertx-core version 2.1.6, changing a write
operation to writeAndFlush
. The fix is probably bypassing the intentions of the original author and will result in a few un-necessary flush operations on the netty channel.
This is what I think is happening. To follow my reasoning in the code, have a look at org.vertx.java.core.net.impl.ConnectionBase
in 2.1.6. There are two flags involved: read
and needsFlush
. I am assuming here that there are two threads accessing the channel concurrently.
- Vert.x
HttpServer
receives a http request, opens a Netty channel and successfully reads the entire request. The handler is put in READ mode while reading, then back into WRITE mode, flushing the write buffer:read = false
,needsFlush = false
. - Before Vertx HttpServer starts to write the response to the first request, it receives another http request and starts to read again. This puts the handler in READ mode:
read = true
- The http handler now wants to write the response to the first request, but since
read = true
, the writing will begin by settingneedsFlush = true
, and prepares to queue the response. - However, before any bytes are queued, the reading thread takes over again, finishes reading the second request, thus setting
read = false
, flushes the (empty) write buffer (sinceneedsFlush = true
) and setsneedsFlush = false
. - Now the writing thread picks up again. Since it is already past checking the
read
flag, it just writes the bytes to the channel without flushing. The channel will now never be flushed, since no moreendReadAndFlush
will occur.
To fix this problem, I updated
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install checkssl
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page