httpclient bypass certificate validation for HTTPS request

http request is a common application layer protocol for web applications, but due to its insecurity, it is now gradually transitioning to https protocol. https protocol is based on http to tunnel encryption. There are two encryption methods: SSL and TLS. When the server uses https protocol for data exchange, the client will verify the server's ...

Posted by piznac on Sun, 24 Nov 2019 16:29:11 +0100

RocketMQ -- environment configuration

  Let's first go to / etc/hosts to add information vim /etc/hosts Add the following information: Pass apache-rocketmq.tar.gz to / usr/local/software through XFTP tool Then add / usr / local / Apache rocketmq directory, and extract Apache rocketmq.tar.gz to this directory [root@bogon apache-rocketmq]# mkdir /usr/local ...

Posted by maniac1aw on Sat, 23 Nov 2019 22:08:11 +0100

Solve the problem of cannot enable executable stack as shared object requirements: permission denied

Start troubleshooting 1. Error prompt for starting apache service. Starting httpd: httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp5.so into server: libcrypto.so.6: cannot enable executable stack as shared object requires: Permission de ...

Posted by Adastra on Sat, 23 Nov 2019 16:42:03 +0100

Pro test, java lucene index, read index

/** * Create index file trigger update database search file * @param contents Index content data * @param searchDir Index file directory */ public static void createIndex(List<Content> contents, String searchDir, boolean hasDelete) { IndexWriter iwriter = null; try { // Get index file location Path dirP ...

Posted by johnali3n on Fri, 22 Nov 2019 17:11:47 +0100

Spring cloud fegin and rabbot implement microservices respectively

The previous article wrote the first way to implement microservice architecture, and now the second way is still a fool First blog link https://blog.csdn.net/qq_41684939/article/details/89602525 This is based on the last blog post The registration center can see in the previous article fegin implementation of microservice archit ...

Posted by cfemocha on Thu, 21 Nov 2019 20:55:49 +0100

MQTT protocol performance test: use jmeter+ant+emqx to test and generate test report

preparation: 1) install jdk and configure environment variables. Please search for specific steps by yourself 2) install jmeter3.1 and above 3) jmeter installs the mqtt plug-in: Mqtt xmeter - [required version] - jar-with-dependencies.jar , put it in the EXT folder of JMeter installation directory (for example, F:\testPro\ap ...

Posted by jimmyt1988 on Tue, 19 Nov 2019 20:55:58 +0100

Traffic statistics of MapReduce

Traffic statistics of MapReduce means of preparation Open hadoop pojo level mapper level reducer level partition layer job level Package it into jar package and upload it to the server summary Sort by total flow pojo level mapper level reducer level Zoning layer job level means of preparation A virtual machine with ha ...

Posted by Hellomonkey on Tue, 19 Nov 2019 18:39:37 +0100

[SpringBoot+Netty] implementation click the front page button to call the Client to send messages to the Server

Code background The following functions need to be realized: click the page button in the foreground, and the background will send instructions to the lower computer to control the Internet of things devices. In fact, this logic can be applied to many scenarios. The process of my solution is as follows: The foreground uses On ...

Posted by subesc on Sun, 17 Nov 2019 16:51:45 +0100

Spring Security custom user authentication

Read more technical articles about Angular, TypeScript, Node.js/Java, Spring, etc. welcome to my blog—— The road of building immortals in the whole stack stay Spring Boot integrates Spring Security In this article, we introduced how to quickly integrate Spring Security in the Spring Boot project, as well as how to change the user na ...

Posted by remal on Wed, 13 Nov 2019 06:15:47 +0100

The vue element component realizes uploading pictures to the local

My qq 2038373094 Components used The function of this component 1. Copy the pictures uploaded by users to Qianniu cloud server 2. Then Qianniu cloud returns a picture link blob:http://localhost:8088/42786950-1ef1-44a3-8315-f3f7d83ed9fc What we want to achieve now is to send the pictures uploaded by users to the local ...

Posted by spicerje on Tue, 12 Nov 2019 22:52:21 +0100