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
service side 106:Install puppet source RPM-IVH "http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm"Installing the service-side program Yum Install-y puppet-serverStart Service puppetmaster startBoot Chkconfig puppetmaster on2) on client 111:Install puppet source RPM-IVH "http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm"Installing the client program Yum install-y puppetModify the configuration file vi/etc/puppet/puppet.conf//Add under
I. HTTPS description with the daily network, information security is more and more important, the traditional website is the HTTP protocol plaintext transmission, and the HTTPS protocol is built by the SSL+HTTP protocol can be encrypted transmission, authentication network protocol, than the HTTP protocol security.That HTTPS is how to open, with the question itself also understand the principle of HTTPS configuration and on the Ubuntu server turned on HTTPS. Second, the configuration certific
. Generate a signing certificateGenerate certificate private key to Dnscrypt-wrapper--gen-crypt-keypair--crypt-secretkey-file=1.key generate signing certificate, default 365 days, can use-- Cert-file-expire-days Specify a valid time Dnscrypt-wrapper--gen-cert-file--crypt-secretkey-file=1.key--provider-cert-file=1. Cert3. The dnscrypt-wrapper process runs, listeni
Installation certificate file Description: 1. Certificate file 214077101580586.pem, contains two pieces of content, please do not delete any piece of content. 2. If it is a CSR created by the certificate system, it also contains: Certificate private key File 214077101580586.key, certificate public key file Public.pem, certificate chain file CHAIN.PEM. (1) Create the CERT directory under Apache's installation directory and copy all downloaded files to
machine) deploying multiple domain Name services.Nginx supports SNI in a way that automatically opens. When a client user is encountered that does not support this feature, Nginx typically returns the server certificate for the default site. For example, the following case, the client does not support SNI, Nginx return serversuning.pem . It is not guaranteed that the certificate can be correctly matched, which will bring unnecessary trouble and distress. Therefore, mobile-side development shoul
First, make sure that your Apache compiles the SSL module, which is the necessary condition to support SSL certificate (if not, compile, "open Phpstudy" "Other options Menu", "php extension", "Php-openssl" in front of the check box).Create the CERT directory under Apache's installation directory, and copy all downloaded files to the Cert directory.Open the httpd.conf file in the Conf directory under the Apa
OpenSSL docs, implies--ssl). --ssl-cert=name X509 cert in PEM format (implies--ssl). --ssl-cipher=name SSL CIPher to use (implies--ssl). --ssl-key=name X509 key in PEM format (implies--ssl). --ssl-verify-server-cert Verify server ' s "Common Name" in its cert against host Name used when connecting. This option was
resolution to resolve the domain name to an IP address. However, when the client needs to execute DNS lookup, the wait time will depend on the effective response speed of the Domain Name Server.
Although all isp dns servers can cache the domain name and IP address ing table, if the cached DNS records expire and need to be updated, you may need to traverse multiple DNS nodes, sometimes you need to find a trusted domain name server on a global scale. Once the Domain Name Server is busy and reques
browser establishes a connection to a Web server, it needs to resolve the DNS to resolve the domain name to an IP address. However, once the client needs to perform DNS lookup, the wait time will depend on the speed of the domain name server's effective response.Although all ISPs ' DNS servers can cache domain names and IP address mapping tables, if the cached DNS records expire and need to be updated, it may be necessary to traverse multiple DNS nodes, sometimes requiring a global scope to fin
requests on the page.You can use the Request Checker tool to detect how many requests exist on the page and then optimize them.14. Minimize redirectsSometimes you need to use redirects in your Web pages for specific needs. Redirection means that the user's original request (for example, request a) is redirected to another request (for example, request B).But this can cause the website performance and the speed to descend, because the browser accesses
Use iparameterinspector, ioperationbehavior, attribute (parameter checker, operation behavior interface, and tag) to extend the WCF Operation Behavior
Development Environment: vs2008 SP1 win2008 SP2WCF allows us to extend WCF in endpoint, message, operation, parameter. This article briefly introduces how to intercept operation parameters to extend the operation of WCF. This kind of extension needs to be implemented by adding labels to the contract Con
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.