推荐文章
环境:
suse linux enterprise server 11
perl 5.10
我是在linux写了perl脚本来发邮件,在windows端用outlook或者foxmail来接收邮件
$a="一些中文字符串";
$b=decode("utf8",$a);
$c=encode("gb231
推荐文章
Prefix
All previous squid caching server series talk about SSL bumping, and include steps on creating a self-signed certificate. I.e., it has been overly-discussed --
You can find many
推荐文章
InnoDB Cluster 一节点丢失
初始化故障节点
systemctl stop mysqld
rm -rf /var/lib/mysql/*
systemctl start mysqld
导出正常节点的数据库,并传到故障节点
mysqldump --all-databases --triggers --routine
推荐文章
对于tcp 的路由是基于sni (需要tls)但是可以通过统配(*) 解决不试用tls的,当然也可以让Traefik 自动生成tls 证书 以下是测试http 以及mysql 的tcp 路由配置(demo 很简单,就是一个proxy)
环境准备
docker-compose文件
推荐文章
1 Rem Copyright (c) 1990, 2006, Oracle. All rights reserved.
2 Rem NAME
3 REM UTLSAMPL.SQL
4 Rem FUNCTION
5 Rem NOTES
6 Rem MODIFIED
推荐文章
package main
import (
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"crypto/x509/pkix"
"encoding/pem"
"io/ioutil"
"math/big"
"os"
"time"
)
func main() {
info := CertI
推荐文章
In a previous post, I went into some (hopefully enough) detail on getting nginx working on docker with Letsencrypt. To wrap up the post, I had ran my website through ssllabs.com, and received an “A”
推荐文章
示例:
创建一个app:kubectl create deployment nginx --image=nginx:1.11
创建service kubectl expose deployment nginx --port=80 --type=NodePort
扩缩容:kubectl scale deployment nginx --
推荐文章
按照
MongoDB SSL encryption and Spring’s Driver中概述的说明,我得到了2.1.0,在构建它之后,它说它不识别sslOnNormalPorts,sslPEMKeyFile或sslPEMKeyPassword.
但是我看到了一个–keyFile,并且使用了它(我必须删除前导和尾随—– BE
推荐文章
如何在Ubuntu上正确配置MongoDB以使用Letsencrypt SSL?
我使用Letsencrypt创建了一个SSL证书,并将其组合在一起:
cat /etc/letsencrypt/live/example.com/fullchain.pem /etc/letsencrypt/live/example.com
推荐文章
Intro
We use RethinkDB at work across different projects. It isn’t used for any sort of big-data applications, but rather as a NoSQL database, which spices things up with real-time upda
推荐文章
I'm on vacation in San Francisco this week with my family and looking out over the bay at Alcatraz Island. For those who aren't familiar with this island, it housed a maximum high-security
推荐文章
Recently I found myself needing to generate a HTTPS Server Certificate and Private Key for an iOS app using OpenSSL, what surprised me was the total lack of documentation for OpenSSL.
While there is
推荐文章
// c:Program Files (x86)Microsoft Visual Studio2017CommunityVCToolsMSVC14.14.26428atlmfcincludeatlstdthunk.h
// This is a part of the Active Template Library.
// Copyright (
推荐文章
⒈安装CFSSL
wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64
« 上一页