Appendix B. Web UI Manual Installation
The CASPUnbound’s Crypto Asset Security Platform (“CASP”) provides the advanced
technology and the architecture to secure crypto asset transactions. Web UI is installed automatically with the CASP Package Installation. These instructions are provided in case you need to manually install the Web UI.
Do the following on your server to install the web interface:
- Download and set up the CASP
Unbound’s Crypto Asset Security Platform (“CASP”) provides the advanced technology and the architecture to secure crypto asset transactions. User Interface package.
- Access the CASP
Unbound’s Crypto Asset Security Platform (“CASP”) provides the advanced technology and the architecture to secure crypto asset transactions. repository from the link provided to you by Unbound.
- Select your platform and version and then download the corresponding casp-ui-{version}.tar.gz file.
- Decompress the package.
- Access the CASP
-
sudo cp -r caspui /opt/casp/tomcat/webapps
-
Set up Apache.
-
Install Apache http daemon.
sudo yum -y install httpd
-
Configure Apache to start on boot.
sudo systemctl start httpd
sudo systemctl enable httpd -
Modify httpd.conf.
sudo nano /etc/httpd/conf/httpd.conf
-
Add the following settings.
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
<VirtualHost *:80>`
ProxyPreserveHost On
#CASP
ProxyPass /casp http://localhost:8080/casp
ProxyPassReverse /casp http://localhost:8080/casp
ProxyPass /caspui http://localhost:8080/caspui
ProxyPassReverse /caspui http://localhost:8080/caspui
#BTC
ProxyPass /btc http://localhost:8080/btc
ProxyPassReverse /btc http://localhost:8080/btc
ProxyPass /btctest http://localhost:8080/btctest
ProxyPassReverse /btctest http://localhost:8080/btctest
#ETH
ProxyPass /eth http://localhost:3000/eth
ProxyPassReverse /eth http://localhost:3000/eth
ProxyPass /ethtest http://localhost:3001/ethtest
ProxyPassReverse /ethtest http://localhost:3001/ethtest
</VirtualHost> -
Allow access to localhost.
sudo /usr/sbin/setsebool -P httpd_can_network_connect 1
-
Restart Apache.
sudo systemctl restart httpd
-
Test the Apache configuration.
-
curl http://localhost/casp/api/v1.0/mng/status?withDetails=true
-
Test BTC Provider.
curl http://localhost/btc/api/v1.0/status?withDetails=true
-
Test BTCTEST Provider.
curl http://localhost/btctest/api/v1.0/status?withDetails=true
-
Test ETH Provider.
curl http://localhost/eth/api/v1.0/status?withDetails=true
-
Test ETHTEST Provider.
curl http://localhost/ethtest/api/v1.0/status?withDetails=true
Note
All responses should be the same as in previous sections.