Skip to end of metadata
Go to start of metadata

Create New SSL Certificate for FileCloud on Windows

 

Step 0:  Download OpenSSL

To create a SSL certificate, you can use the openssl included in FileCloud folder. (The location is c:\xampp\apache\bin)

Step 1:  Create Private Server Key

C:\xampp\apache\bin>openssl genrsa -des3 -out server.key 2048 -config "C:\xampp\apache\conf\openssl.cnf"

Note

If your SSL provider does not accept key lengths of 2048, a higher length of 4096 can  be used in the above command.

Note

If you get any error about unable to open configuration, file, run the following in the command prompt to set the path.

set OPENSSL_CONF=c:\xampp\apache\conf\openssl.cnf

 


Step2: Create a Certificate Request (CSR)

C:\xampp\apache\bin>openssl req -new -key server.key -out server.csr -config "C:\xampp\apache\conf\openssl.cnf"

Notes: Type in the same passphrase used in Step 1.

 

Be sure to enter the actual server's fully qualified name in the "Common Name" field. For example: filecloud.yourdomain.com

If it is a wildcard certificate for all subdomains (for example for using multi tenancy), then be sure to enter *.yourdomain.com

 

 

Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:filecloud.yourdomain.com or *.yourdomain.com
Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

For Common Name enter the URL of your site.

Step 3: Remove the passphrase from key

copy server.key server.key.secure
openssl rsa -in server.key.secure -out server.key

Apache won't start up properly if the key is secured with passphrase, so we need to remove it.

Step 4: Submit the CSR to SSL provider

Upload and submit the CSR file's contents to the SSL signing authority (like GoDaddy, Thawte) etc.

They will sign and give you a ssl certificate usually called as server.crt.

 

After you get the SSL certificate, you can install it on your FileCloud installation by following the instructions.

  • No labels