enabled, you can not use it ).
$ sudo setsebool -P allow_ftpd_full_access=1
$ sudo setsebool -P ftp_home_dir=1
Then, we will set that other users are not allowed to move or rename this directory and its contents.
$ sudo chmod -R 1777/ftp-dir/
4. Enable TLS support
Currently, the encryption method used by FTP is not secure. Anyone can monitor the network card to read data transmitted by FTP. Therefore, we will enable TLS encryption support for our servers. In this case, you need to edit t
Build your own certificate issuing service (CA)
This series of articles is divided into three parts. It mainly introduces how to build your own certificate issuing service, generate certificate requests, and sign the generated certificate request through the self-built CA and finally apply it to the service.
By building your own certificate service, you can sign your own application certificate without buying the signature of the commercial certificate authority, however, the disadvantage of Sel
Build your own certificate issuing service (CA) and build a certificate issuing ca
This article original from the http://blog.csdn.net/voipmaker reprint indicate the source.
This series of articles is divided into three parts. It mainly introduces how to build your own certificate issuing service, generate certificate requests, and sign the generated certificate request through the self-built CA and finally apply it to the service.
By building your own certificate service, you can sign your ow
Browser access:http://linuxprobe.org/~wang/, the following interface appears
Eight, set up a virtual host
Configure the virtual host to use multiple domain names.The following example is set in an environment where the domain name is [linuxprobe.org] and the virtual domain name is [virtual.host (Root [/home/wang/public_html]].You must set the Userdir setting for this example
[1] Configure virtual host [Root@linuxprobe ~]# vi/etc/httpd/conf.d/vhost.conf # for original Domain
I. Functions
1. lpad/rpad in Oracle/PLSQL, the lpad function pads the left-side of a string with a specific set of characters. the syntax for the lpad function is: lpad (string1, padded_length, [pad_string]) string1 is the string to pad characters to (the left-hand side ). padded_length is the number of characters to return. if
Padded_length is smaller than the original string, the lpad Function
Will truncate the string to the size of padded_length.pad_string is optional. This is the string that
Application Cases
Requirements:
1. All employees can work in the company, But no matter which computer they work on, they must save their file data on the Samba file server.
2. Both the marketing department and the technical department have their own directories. People in the same department have a shared directory. People in other departments can only access their own home directories on the server.
3. All users are not allowed to use the shell on the server.
Analysis:
1. Samba needs to
Linux system add root certificate linux Certificate Trust List
1. https certificate access in linux
[root@boss-test-dev001-jydx ~]# curl -v https://mobile.mycard520.com.tw* About to connect() to mobile.mycard520.com.tw port 443 (#0)* Trying 220.130.127.122... connected* Connected to mobile.mycard520.com.tw (220.130.127.122) port 443 (#0)* Initializing NSS with certpath: sql:/etc/pki/nssdb* CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none* Ce
certificate for the servercd/etc/pki/tls/OpenSSL req-subj '/cn=www.elk.com/'-x509-days 3650-batch-nodes-newkey rsa:2048-keyout private/logstash-forwarder.ke Y-out CERTS/LOGSTASH-FORWARDER.CRTCopy the LOGSTASH-FORWARDER.CRT to the client sideSCP CERTS/LOGSTASH-FORWARDER.CRT 192.168.100.13:/etc/pki/tls/certs/Configuration of the logstash.conf of the 2 server segme
certificates
1
OpenSSL req-new -x509-key server. Key 3650
Certificate Generation for clients
In addition to "server-side Certificates", "Client certificates" are also involved in some scenarios. The so-called "client certificate" is used to prove the identity of the client visitor.For example, in some financial companies ' intranet, you must deploy a "client certificate" on your computer to open the pages of important servers.I will demonstrate t
modify
[Email protected] ca]# VIM/ETC/PKI/TLS/OPENSSL.CNFCountry Name_default = CNStateorprovincename_default = BeijingLocatityname_default = Shangdi0.organizationname_default = M19organizationunitname = Jishu
Generate a self-visa certificate (Root CA)
[email protected] ca]# OpenSSL req-new-x509/etc/pki/ca/private/cakey.pem-days 3650-out/etc/pki/ca/cacert.pemCommon name (eg, your name or your server ' s hostname) []:haizei.zou.com need to define its own host
to other certificates, for example, WEB certificate authentication$ Openssl genrsa-des3-out/etc/ssl/private/CAS. key 2048$ Chmod 700/etc/ssl/private/CA. key 20486. Fill in the CA certificate application file (CSR)$ Openssl req-new-key/etc/ssl/private/CA. key-out/tmp/CA. rcSome information will pop up later. Enter the information as prompted. After the certificate is generated, a certificate request file is generated. This step is equivalent to entering your information on the Professional Certi
Here is a simple demonstration of encrypted access-https encrypted access under Apache.
1. I will not go into details about DNS resolution here. I will discuss the dns resolution situation in this demonstration:
[Root @ localhost html] # nslookup www. abc. comServer: 192.168.2.115Address: 192.168.2.115 #53 Name: www. abc. comAddress: 192.168.2.115
2. install the Apache SSL support module: # yum install-y mod_ssl (httpd is not installed by default in yum. After installation, it will automatic
After launching Docker today, I found that the package was wrong:
? ~ Docker Images
2014/12/11 17:11:06 Get http:///var/run/docker.sock/v1.15/images/json:dial unix/var/run/docker.sock:no such file or di Rectory
So see if boot2docker is not up:
~ boot2docker up
Waiting for VMs and Docker daemon to start ...
..... oooo.
Started.
Writing/users/nilyang/.boot2docker/certs/boot2docker-vm
the server's/etc/pki/tls/certs/, and copy the. Key and. CSR files to/etc/pki/tls/private/. (for CentOS server only, other servers please Baidu).You will also need to link the CERT.PEM (if not one) under/etc/pki/tls/to/ETC/PKI/TLS/CERTS/ROOT.CRTThis will not be reported sec_error_unknown_issuer this error when it is accessed in Firefox browser.This CERT.PEM is a certificate chain, and only if your server ce
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.