About wechat H5 payment (wechat payment and jump connect payment)
I haven't updated my blog for a long time. Recently, I met wechat payment for my project. I need to sort out the demand. I need to adjust wechat payment for an activity page!Application framework THINKPHP5.1
Note: for wechat payment, if it is the h5 page, you need to obtain the code in a silent login state, so as to ensure that the parameter o ...
Posted by tronicsmasta on Wed, 11 Dec 2019 15:15:40 +0100
Thinkpphp phpmailer mailbox verification
thinkphp about phpmailer's mailbox verification
First,
Log in to your email, for example: qq email. Log in qq email to open the smtp service in account settings:
Then send back an authorization code, which will be saved first and used later.
Two.
Download phpmailer using composer
Open your tp framework path in cmd and enter composer re ...
Posted by DigitalExpl0it on Mon, 09 Dec 2019 00:43:22 +0100
The flanned network of k8s
#(1) generate flanneld certificate on the springboard machine
#cd /temp/ssl/
cat > flanneld-csr.json <<EOF
{
"CN": "flanneld",
"hosts": [],
"key": {
"algo": "rsa",
"size": 2048
},
"names": [
{
"C": "CN",
"ST": "Hangzhou",
"L": "Hangzhou",
"O": ...
Posted by wpt394 on Sat, 07 Dec 2019 04:34:21 +0100
Configure kubectl client tools
#(1) generate client certificate and private key file on the springboard;
#Generate client certificate signing request
cd /temp/ssl
cat > client-csr.json <<EOF
{
"CN": "client",
"hosts": [],
"key": {
"algo": "rsa",
"size": 2048
},
"names": [
{
...
Posted by guilhenfsu on Thu, 05 Dec 2019 11:22:09 +0100
CA authentication server and https service
How to build an enterprise CA certificate server?
Define system environment: CentOS 7.4
ca.com 192.168.80.181 openssl*
mail.com 192.168.80.182 dovecot*
client.com 192.168.80.183 mutt*
Modify three host names:
①hostnamectl set-hostname xx.com
exit logout
Reconnect
② vi /etc/hosts
192.168.80.181 ca.com 192.168.80.182 mai ...
Posted by lewis987 on Sun, 01 Dec 2019 13:40:19 +0100
apache, nginx configure openssl self signing certificate
1. Generate private key
Generate rsa private key, des3 algorithm, 2048 bit strength. server.key is the file name of the secret key. You need to provide a password of at least 4 digits.
[root@localhost ~]# openssl genrsa -des3 -out server.key 2048
Generating RSA private key, 2048 bit long modulus
................................................ ...
Posted by beginPHP on Sat, 30 Nov 2019 06:05:48 +0100
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
6. User email sent by nodemailer system - API nodejs + Express + MySQL practice at the back end of Blog
NodeMailerNodemailer, a mail sending component of Nodejshttp://blog.fens.me/nodejs-em...Node.js uses NodeMailer to send mailhttp://www.jianshu.com/p/ee20...https://github.com/nodemailer...https://nodemailer.com/about/
In our daily development, we sometimes encounter the need for the system to push e-mail to relevant users (for example: send ac ...
Posted by djwiltsh on Sun, 17 Nov 2019 19:45:08 +0100
Web tutorial email sending and verification code
Article directory
I. use QQ email to send mail
1. Get the authorization code of QQ email
2. Import jar package mail.jar
3. Test code
Verification code implementation
1. Principle of picture verification code
2. Verification code tool class
3.VerifyCodeServlet
4.UserServlet.java
5.login.jsp ...
Posted by VTS on Sat, 02 Nov 2019 04:37:19 +0100
Integrated HttpClient of SpringBoot
Table of Contents
1.maven add dependency
2. Add profile information
3. Create HttpClient entity class association configuration
4. Create connection thread processing class
5. Create request return result class
6. Create specific request class
1.maven add dependency
pom.xml: here, we add the ...
Posted by petitduc on Fri, 25 Oct 2019 21:08:57 +0200