If you encounter an error that says the (Dedicated web hosting)
Friday, November 30th, 2007If you encounter an error that says the smbd executable is missing the file ssl.h, you probably didn t install SSLeay in the default directory. Use the configure option –with-sslincto point to the base directory of the SSL distribution - in this case, the directory that contains include/ssl.h. On the other hand, if you have a clean compile, you re ready to move on to the next step: creating certificates. A.3.3 Becoming a Certificate Authority The SSL protocol requires the use of X.509 certificates in the protocol handshake to ensure that either one or both parties involved in the communication are indeed who they say they are. Certificates in real life, such as those use for SSL connections on public web sites, can cost in the arena of $300 a year. This is because the certificate must have a digital signature placed on it by a certificate authority. A certificate authority is an entity that vouches for the authenticity of a digital certificate by signing it with its own private key. This way, anyone who wishes to check the authenticity of the certificate can simply use the certificate authority s public key to check the signature. You are allowed to use a public certificate authority with SSLeay. However, you don t have to. Instead, SSLeay will allow you to declare yourself a trusted certificate authority - specifying which clients you choose to trust and which clients you do not. In order to do this, you will need to perform several tasks with the SSLeay distribution. The first thing you need to do is specify a secure location where the certificates of the clients and potentially the server will be stored. We have chosen /etc/certificates as our default. Execute the following commands as root: # cd /etc # mkdir certificates # chmod 700 certificates Note that we shut out all access to users other than rootfor this directory. This is very important. Next, you need to set up the SSLeay scripts and configuration files to use the certificates stored in this directory. In order to do this, first modify the CA.sh script located at /usr/local/ssl/bin/CA.sh to specify the location of the directory you just created. Find the line that contains the following entry: CATOP=./demoCA Then change it to: CATOP=/etc/certificates Next, you need to modify the /usr/local/ssl/lib/ssleay.cnf file to specify the same directory. Find the entry: [ CA_default ] dir = ./demoCA # Where everything is kept 338
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.