Tag Archives: ssl

Using cqlsh with SSL

Using a cqlshrc file is the easiest method of getting cqlshrc settings. The cqlshrc.sample provides an example that can be copied as a starting point. Prerequisites Prepare SSL certificates with a self-signed CA for... Read More | Share it now!

Cassandra Client-to-node encryption

Client-to-node encryption https://docs.datastax.com/en/archived/cassandra/3.0/cassandra/configuration/secureCqlshSSL.html Client-to-node encryption protects data in flight from client machines to a database cluster using SSL (Secure Sockets Layer). It... Read More | Share it now!

NGINX 配置 SSL 双向认证

https://blog.csdn.net/yuanlin65/article/details/53187710 对于 NGINX 的 HTTPS... Read More | Share it now!

nginx配置HTTPS 单向验证

使用ssl模块配置同时支持http和https并存 一,生成证书 # 1、首先,进入你想创建证书和私钥的目录,例如: cd /etc/nginx/ # 2、创建服务器私钥,命令会让你输入一个口令: openssl genrsa -des3... Read More | Share it now!

Creating Your Own SSL Certificate Authority (and Dumping Self Signed Certs)

Creating Your Own SSL Certificate Authority (and Dumping Self Signed Certs) Jan 11th, 2016: New Year! Also, there was a comment below about adding -sha256 to the signing (both self-signed and CSR signing) since browsers are starting to reject... Read More | Share it now!

Java实现 SSL双向认证 Socket

我们常见的SSL验证较多的只是验证我们的服务器是否是真实正确的,当然如果你访问的URL压根就错了,那谁也没有办法。这个就是所谓的SSL单向认证。   但是实际中,我们有可能还会验证客户端是否符合要求,也就是给我们每个用户颁发一个证书,比且每个数字证书都是唯一的,不公开的。这样就能通过这个数字证书保证当前访问我服务器的这个用户是经过服务器认可的,其他人不可访问。   双向认证... Read More | Share it now!

Jetty SSL Configuration Example

From: https://examples.javacodegeeks.com/enterprise-java/jetty/jetty-ssl-configuration-example/ In this example, we are going to configure SSL on Jetty Server. We are first generate SSL key and certificates using OpenSSL. Then we will configure our... Read More | Share it now!

Adding SSL Support to an Embedded Jetty Server

From: https://dzone.com/articles/adding-ssl-support-embedded As I discussed in a series of four posts (see Part 1, Part 2, Part 3, and Part 4), I recently taught a class on Spring WebMVC and how it can be used to REST-enable a standalone Java... Read More | Share it now!

那些证书相关的玩意儿(SSL,X.509,PEM,DER,CRT,CER,KEY,CSR,P12等)

之前没接触过证书加密的话,对证书相关的这些概念真是感觉挺棘手的,因为一下子来了一大堆新名词,看起来像是另一个领域的东西,而不是我们所熟悉的编程领域的那些东西,起码我个人感觉如此,且很长时间都没怎么搞懂.写这篇文章的目的就是为了理理清这些概念,搞清楚它们的含义及关联,还有一些基本操作. SSL SSL... Read More | Share it now!

Java SSL/TLS 安全通讯协议介绍

在人类建立了通信系统之后,如何保证通信的安全始终是一个重要的问题。伴随着现代化通信系统的建立,人们利用数学理论找到了一些行之有效的方法来保证数字通信的安全。简单来说就是把两方通信的过程进行保密处理,比如对双方通信的内容进行加密,这样就可以有效防止偷听者轻易截获通信的内容。目前... Read More | Share it now!