play twice!" ”。 Such a well-known network service provider, also inevitable escape ah! The web site injection loophole is a recent high school intrusion that has been exposed in newspapers and magazines ... In a word, most of the site security situation is worrying!
Here's my personal past experience with you to explore the issue of secure virtual host configuration. The following to establish a site cert.ecjtu.jx.cn as an example, with you to discuss the virtual host configuration issues.
Fi
Attack
Whenever we think of hackers, hackers tend to be such a portrait: A lonely person, sneaking into someone else's server to sabotage or steal other people's secret information. Perhaps he will change our homepage, who will steal the customer's credit card number and password. In addition, hackers will attack customers who visit our site. At the same time, our server has become his accomplice. Microsoft called the attack a "Cross-site script" attack. Most of these attacks occur when the Web
Author: BIBI
Whenever we think of hackers, hackers tend to be such a portrait: A lonely person, sneaking into someone else's server to sabotage or steal other people's secret information. Perhaps he will change our homepage, who will steal the customer's credit card number and password. In addition, hackers will attack customers who visit our site. At the same time, our server has become his accomplice. Microsoft called the attack a "Cross-site script" attack. Most of these attacks occur when th
file and private key generation completed. "
echo "starts signing a server certificate with a CA root certificate signing file ..."## sign server certificate, generate SERVER.CRT file# See http://www.faqs.org/docs/securing/chap24sec195.html# sign.sh START## Sign a SSL certificate Request (CSR)# Copyright (c) 1998-1999 Ralf S. Engelschall, all Rights Reserved.#
Csr=server.csr
Case $CSR in*.CSR) cert= "' Echo $CSR | Sed-e ' s/\.csr/.crt/' ";;*
Source: Zoomlion
Released on: 2006-01-27Updated on: 2006-01-27
Affected Systems:FreeBSD 6.0-STABLEFreeBSD 6.0-RELEASEFreeBSD 5.4-RELENGFreeBSD 5.4-RELEASEFreeBSD 5.4-PRERELEASEDescription:--------------------------------------------------------------------------------Bugtraq id: 16373CVE (CAN) ID: CVE-2006-0379, CVE-2006-0380
FreeBSD is an open-source Unix system that runs on the Intel Platform and can be freely used.
Multiple vulnerabilities in FreeBSD kernel implementation may cause leakage of
vulnerabilities are university intrusions that are frequently exposed in newspapers and magazines recently ...... In a word, the security status of most websites is worrying!
Here I will discuss the security virtual host configuration issues with my personal past experiences. The following uses the establishment of a site cert.ecjtu.jx.cn as an example to discuss the virtual host configuration issues with you.
1. Create a Windows User
Set a windows User Account
/kubernetes/ssl/ca.pem --cert-file=/opt/kubernetes/ssl/etcd.pem --key-file=/opt/kubernetes/ssl/etcd-key.pem ls/kubernetesOnly a small amount of information is stored in this key:[[emailprotected] ~]# etcdctl --endpoints=https://10.0.0.2:2379 --ca-file=/opt/kubernetes/ssl/ca.pem --cert-file=/opt/kubernetes/ssl/etcd.pem --key-file=/opt/kubernetes/ssl/etcd-key.pem ls -r/kubernetes/kubernetes/network/
virtual host configuration issues with my personal past experiences. The following uses the establishment of a site cert.ecjtu.jx.cn as an example to discuss the virtual host configuration issues with you.
1. Create a Windows User
Set a windows User Account cert for each website, delete the account User group, and add cert to the Guest User group. The password cannot be changed, and the password will never
be password protectedHow does text format become binary? From the program perspective, remove the front and back -- rows, remove the carriage return, and use base64 to decode the remaining rows to obtain binary data.However, you generally use the command line OpenSSL to complete this job.-----Use OpenSSL to create the RSA key for the CA certificate (in PEM format ):OpenSSL genrsa-des3-out ca. Key 1024
Use OpenSSL to create a CA certificate (in PEM format, if the validity period is one year ):Op
submitted, PS generates a termination error.
7. Navigation in PS
Ps provides the most groundbreaking feature: Virtual Drive navigation. In PS, in addition to browsing in the file system drive, you can also browse in HKEY_LOCAL_MACHINE (HKLM :) and
HKEY_CURRENT_USER (hkcu :) registry Configuration unit drive. You can also browse in the digital signature certificate storage area (CERT :) and functions in the current session. These drivers
Is a Windows
/** ** ** ** ** @ Author ifwater* @ Version 1.0*//* The CA should use its own private key to issue a digital certificate. The CA's certificate does not contain information about the private key. Therefore, you need to extract it from the keystore mykeystore. In addition, since the issued certificate also needs to know the name of the CA, this can be obtained from the Xa certificate. Issuing a certificate is actually creating a new certificate. Here, Sun. security. the x509certimpl class created
certificate as follows:
Ll keys/
We can see that three files, ilanni. csr, ilanni. crt, and ilanni. key, have been generated. Here, we use the ilanni. crt and ilanni. key Files.
In this way, the Client certificate is created.
4. Configure the Server
After all the certificates are created, we now start to configure the Server. Server configuration file, which can be copied from the openvpn built-in template. As follows:
Cp/usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz
vulnerabilities are university intrusions that are frequently exposed in newspapers and magazines recently ...... In a word, the security status of most websites is worrying!
Here I will discuss the security virtual host configuration issues with my personal past experiences. The following uses the establishment of a site cert.ecjtu.jx.cn as an example to discuss the virtual host configuration issues with you.
1. Create a Windows User
Set a windows User Account
For example, a shopping cart data sheet, someone is designed, cert (Id,uid,item1,item2,item3 ... ), while the correct practice should be divided into two tables, cert (Cert_id,item), cert (uid,cert_id).
So what's the wrong paradigm for the wrong watch? Why?
Reply content:
For example, a shopping cart data sheet, someone is designed,
= UrlEncode ($v); } $buff. = $k. "=" . $v. ""; }}//Remove the end symbol "" without this if, because the length must be greater than 0 if (strlen ($buff) > 0) { $stringA = substr ($buff, 0, strlen ($buff)-1); }//Signature stitching API $stringSignTemp = $stringA. "key=". Config (' Wx_sh.key '); The signature is encrypted and capitalized $sign = Strtoupper (MD5 ($stringSignTemp)); return $sign;} The POST request site requires a certificate function Curl_post_ssl ($url, $var
This is a creation in
Article, where the information may have evolved or changed.
In the previous article, "Go language for two-way TLS certified Rest Service" describes how to implement the client and server side of the two-way TLS authentication, here again how to obtain the content of the client certificate on the server side.
For example, how to obtain the subject attribute in the certificate.
Package Mainimport ("Net/http" "Encoding/json") func MyHandler (w http. Responsewriter, R *http.
default (3306). --protocol=name The protocol to use for connection (tcp, socket, pipe, memory). -t, --show-table-type Show table type column. -S, --socket=name The socket file to use for connection. --ssl Enable SSL for connection (automatically enabled with other flags).Disable with --skip-ssl. --ssl-ca=name CA file in PEM format (check OpenSSL docs, implies --ssl). --ssl-capath
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.