Appendix B. Web UI Manual Installation

The CASPClosedUnbound’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:

  1. Download and set up the CASPClosedUnbound’s Crypto Asset Security Platform (“CASP”) provides the advanced technology and the architecture to secure crypto asset transactions. User Interface package.
    1. Access the CASPClosedUnbound’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.
    2. Select your platform and version and then download the corresponding casp-ui-{version}.tar.gz file.
    3. Decompress the package.
  2. Deploy CASPClosedUnbound’s Crypto Asset Security Platform (“CASP”) provides the advanced technology and the architecture to secure crypto asset transactions. UI.

    sudo cp -r caspui /opt/casp/tomcat/webapps

  3. Set up Apache.

  4. Install Apache http daemon.

    sudo yum -y install httpd

  5. Configure Apache to start on boot.

    sudo systemctl start httpd
    sudo systemctl enable httpd

  6. Modify httpd.conf.

    sudo nano /etc/httpd/conf/httpd.conf

  7. 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>

  8. Allow access to localhost.

    sudo /usr/sbin/setsebool -P httpd_can_network_connect 1

  9. Restart Apache.

    sudo systemctl restart httpd

  10. Test the Apache configuration.

  11. Test CASPClosedUnbound’s Crypto Asset Security Platform (“CASP”) provides the advanced technology and the architecture to secure crypto asset transactions..

    curl http://localhost/casp/api/v1.0/mng/status?withDetails=true

  12. Test BTC Provider.

    curl http://localhost/btc/api/v1.0/status?withDetails=true

  13. Test BTCTEST Provider.

    curl http://localhost/btctest/api/v1.0/status?withDetails=true

  14. Test ETH Provider.

    curl http://localhost/eth/api/v1.0/status?withDetails=true

  15. Test ETHTEST Provider.

    curl http://localhost/ethtest/api/v1.0/status?withDetails=true

    Note
    All responses should be the same as in previous sections.