Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.
a
res:http or s act res:http | Add the HTTP resource. or If the resource already exists, set it active. |
s p http act:yes | Enable the HTTP runtime functionalities. |
Repeat the following commands for each user that you want to enable to HTTP. | |
a user:httpuser pwd:httpuser http:yes | Add the user httpuser and enable it to
HTTP. |
a http rights path:/sys/trfa/ user:httpuser | Enable the httpuser to access the
“IP traffic
analyzer” link. |
a http rights path:/sys/opc/ user:httpuser | Enable the httpuser to access the
“Operator Panel
Control” link. |
a http rights path:/sys/sms/ user:httpuser | Enable the httpuser to access the
“SMS
Gateway” link. |
a http rights path:/sys/cp/ user:httpuser | Enable the httpuser to access the
“Control
Port” link. |
a http rights path:/sys/admin/ user:httpuser recur:no | Enable the httpuser to access the
“Configuration
information” link. |
a http rights path:/sys/admin/groups/ user:httpuser | Enable the httpuser to access the
“Groups
administration” link. |
a http rights path:/sys/advuser/ user:httpuser | Enable the httpuser to access the
“Advanced User
activities” link. |
a http rights path:/sys/admin/users/ user:httpuser | Enable the httpuser to access the
“Users
administration” link. |
a http rights path:/sys/admin/lists/ user:httpuser | Enable the httpuser to access the
“Lists
administration” link. |
a http rights path:/sys/admin/disa/ user:httpuser | Enable the httpuser to access the
“DISA
administration” link. |
save conf | Save the configuration. |
On a working Abilis, a system restart is required to make the HTTP resource running.
Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.
Activate the HTTP server. | |
a
res:ssl or s act res:ssl | Add the SSL resource. or If the resource already exists, set it active. |
s p ssl act:yes | Enable the SSL runtime functionalities. |
s p http act-s:yes | Enable the HTTPS runtime functionalities. |
s p http sesnum-s:12 | Configure the number of HTTPS sessions |
save conf | Save the configuration. |
On a working Abilis, a system restart is required to make the SSL resource running.
Note | |
---|---|
Verify that the SSL protocol is enabled in the Users and HTTP Virtual Paths Access Rights tables. [17:53:34] ABILIS_CPX: |
From Linux command line:
test@test-PC:~$openssl genrsa -des3 -out SRVSSL.KEY 2048
Generating RSA private key, 2048 bit long modulus .......................................................+++ ...........+++ e is 65537 (0x10001) Enter pass phrase for SRVSSL.KEY:pwdssl
Verifying - Enter pass phrase for SRVSSL.KEY:pwdssl
test@test-PC:~$openssl req -new -key SRVSSL.KEY -out SRVSSL.CSR
Enter pass phrase for SRVSSL.KEY:pwdssl
You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:IT
State or Province Name (full name) [Some-State]:Roma
Locality Name (eg, city) []:Roma
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Internet Widgits Pty Ltd
Organizational Unit Name (eg, section) []: Common Name (e.g. server FQDN or YOUR name) []:test.ddns.net
Email Address []: Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []: test@test-PC:~$
Go to https://www.sslforfree.com/ and type domain name in the field (e.g test.ddns.net), hit Create Free SSL Certificate and select Manual Verification, download the file, and copy the content of the downloaded file to Abilis CPX, as shown bellow:
[08:07:38] ABILIS_CPX:sys create c:\8-4-3\pub\.well-known\acme-challenge\
COMMAND EXECUTED [08:09:16] ABILIS_CPX:file put z c:\8-4-3\pub\.well-known\acme-challenge\smCR5g8JoyTIY8W5aHsnGd15FFgmn3i-75Abz5AtSY4
Create permissions for HTTP to this folder:
[08:12:10] ABILIS_CPX:a http path:/.well-known/ phys-path:"c:\8-4-3\pub\.well-known\"
COMMAND EXECUTED [08:12:22] ABILIS_CPX:a http rights path:/.well-known/ user:anonymous
COMMAND EXECUTED
Go to https://www.sslforfree.com/
mark check box: I Have My Own CSR
and insert the content of the SRVSSL.CSR
(generated from Linux Command line) proceed to certificate generated
by clicking Download SSL
Certificate.
Download All SSL Certificate Files. There a 3 file private.key
(empty),
certificate.crt
and
ca-bundle.crt
.
Create an srvssl.cer
file with
content of the
and certificate.crt
ca-bundle.crt
(copy and
paste).
Coppy files SRVSSL.CER
and
SRVSSL.KEY
(generated on Linux PC) to
C:\APP\SSL
directory on Abilis CPX.
[08:20:59] ABILIS_CPX:file put z c:\app\ssl\srvssl.cer
[08:21:55] ABILIS_CPX:file put z c:\app\ssl\srvssl.key
and show to ssl resource path to this certificate:
[08:18:15] ABILIS_CPX:s p res:ssl cert-path:c:\app\ssl\
COMMAND EXECUTED [08:23:03] ABILIS_CPX:s p res:ssl PWDKEY-SRV:pwdssl
COMMAND EXECUTED [08:23:21] ABILIS_CPX:init res:ssl
COMMAND EXECUTED
Go to https://www.sslforfree.com/ and type domain name in the field (e.g test.ddns.net), hit Create Free SSL Certificate and select Manual Verification, download the file, and copy the content of the downloaded file to Abilis CPX, as shown bellow:
[08:07:38] ABILIS_CPX:sys create c:\8-4-5\pub\.well-known\acme-challenge\
COMMAND EXECUTED [08:09:16] ABILIS_CPX:file put z c:\8-4-5\pub\.well-known\acme-challenge\hH0JybhuaLSe7kWSGw6X7i2qJ0J33kkgv0PUKlq9OL8
Create permissions for HTTP to this folder:
[08:12:10] ABILIS_CPX:a http path:/.well-known/ phys-path:"c:\8-4-5\pub\.well-known\"
COMMAND EXECUTED [08:12:22] ABILIS_CPX:a http rights path:/.well-known/ user:anonymous
COMMAND EXECUTED
Go to https://www.sslforfree.com/ . Proceed to certificate generated by clicking Download SSL Certificate.
Download All SSL Certificate Files. There a 3 file private.key
(empty),
certificate.crt
and
ca-bundle.crt
.
Create an srvssl.cer
file with
content of the certificate.crt
and
ca-bundle.crt
(copy and paste).
From Linux command line:
test@test-PC:~$openssl rsa -des3 -in PRIVATE.KEY -out SRVSSL.KEY
writing RSA key Enter PEM pass phrase:pwdssl
Verifying - Enter PEM pass phrase:pwdssl
test@test-PC:~$
Coppy files SRVSSL.CER
and
SRVSSL.KEY
to C:\APP\SSL
directory on Abilis CPX.
[08:20:59] ABILIS_CPX:file put z c:\app\ssl\srvssl.cer
[08:21:55] ABILIS_CPX:file put z c:\app\ssl\srvssl.key
and show to ssl resource path to this certificate:
[08:18:15] ABILIS_CPX:s p res:ssl cert-path:c:\app\ssl\
COMMAND EXECUTED [08:23:03] ABILIS_CPX:s p res:ssl PWDKEY-SRV:pwdssl
COMMAND EXECUTED [08:23:21] ABILIS_CPX:init res:ssl
COMMAND EXECUTED
From Linux command line:
test@test-PC:~$openssl genrsa -out CLISSL.KEY 1024
test@test-PC:~$openssl req -new -key CLISSL.KEY -out CLISSL.CSR
test@test-PC:~$openssl x509 -req -days 5000 -in CLISSL.CSR -signkey CLISSL.KEY -out CLISSL.CER
test@test-PC:~$openssl genrsa -des3 -out SRVSSL.KEY 1024
test@test-PC:~$openssl req -new -key SRVSSL.KEY -out SRVSSL.CSR
test@test-PC:~$openssl x509 -req -days 5000 -in SRVSSL.CSR -signkey SRVSSL.KEY -out SRVSSL.CER
Copy to Abilis CPX all 4 files generated in Linux command line:
[09:23:20] ABILIS_CPX:file put z c:\app\ssl\srvssl.cer
[09:24:29] ABILIS_CPX:file put z c:\app\ssl\srvssl.key
[09:25:37] ABILIS_CPX:file put z c:\app\ssl\clissl.key
[09:26:42] ABILIS_CPX:file put z c:\app\ssl\clissl.cer
[09:27:43] ABILIS_CPX:s p res:ssl cert-path:c:\app\ssl\
COMMAND EXECUTED [09:28:37] ABILIS_CPX:s p ssl PWDKEY-SRV:pwdssl
COMMAND EXECUTED [09:29:19] ABILIS_CPX:init res:ssl
COMMAND EXECUTED
Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.
Activate the HTTPS server. | |
s p http act-p:redir-https | Redirect HTTP to HTTPS. |
save conf | Save the configuration. |
On a working Abilis, a system restart is required to make the SSL resource running.
If you place a gif image in the directory
C:\APP\HTTP\LOGO
, it will replace the default
Abilis company logo.
Important | |
---|---|
The image must have name |
Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.
file put z c:\app\http\logo\company_logo.gif | Upload the file with the file put command (Using the ZMODEM protocol). |
Tip | |
---|---|
The image can be loaded, using also the FTP. |