programmer group

Kubernetes certificate with unclear distinction

Kubernetes certificate with unclear distinction Kubedm generated a bunch of certificates, which are not so magical, to dig deep into its underwear. [email protected]:/etc/kubernetes/pki# tree . |-- apiserver.crt |-- apiserver-etcd-client.crt |-- apiserver-etcd-client.key |-- apiserver.key |-- apiserver-kubelet-client.crt |-- apiserver-kubelet-client.key |-- ca.crt |-- ca.key |-- etcd | |-- ca.crt | |-- ca.key | |--...

programmer group

Front end projects are automatically deployed to the server

Front end projects are automatically deployed to the server 1、 Installation dependency npm install cross-env scp2 ssh2 -D perhaps yarn add cross-env scp2 ssh2 -D 2、 Create a new deploy folder in the root directory of the project. The folder contains index.js And products.js file // deploy/ index.js inside const scpClient = require("scp2"); const ora = require("ora"); const chalk = require("chalk"); const server =...

programmer group

[getting started with git 5] git remote warehouse - GitHub common operation process 1_ to configure

=================================== The local warehouse and the remote warehouse are completely separated The code is stored in the cloud GitHub SSH key authentication scenarios: we can avoid repeated password input, improve development efficiency; access remote services If the SSH key private key (i.e. the ID in the. SSH folder_ RSA file) is obtained by a third party, then he can operate git warehouse with your identity, which is as...

programmer group

Swote source code analysis - OpenSSL of server module (1)

preface sinceLet's EncryptAfter going online,HTTPSThe number of websites accounts for more and more. I believe that the whole network can be realized in the near futureHTTPSAnd most of the mainstream browsers alsoHTTPThe web page gives an obviousunsafeLogo. SSLIt’s inTCPOn the top of the layer, complex encryption algorithm is used for data transmission between client and server,swooleuseSSLEncryption requires only two...