Giter Club home page Giter Club logo

sharktrustx's Introduction

SharkTrustX

SharkTrust eXtended (SharkTrustX) is an extended version of SharkTrust that provides additional features such as remote access of private servers in addition to providing automatic SSL certificate management for Intranet web servers. Unlike SharkTrust, which works with any web server, SharkTrustX is designed exclusively for Barracuda App Server powered products such as the Mako Server.

SharkTrustX is a free product released under the MIT License. See the SharkTrustX product page for additional information.

NOTE: The following domain names are used in the instructions below. Replace these names with your own such as xx.company.com.

  • Name server 1: acme1.realtimelogic.com
  • Name server 2: acme2.realtimelogic.com
  • Service's domain name: acme.realtimelogic.com

The software requires two name servers listed in the configuration file. However, the software is currently limited to running on one VPS and the DNS A record for the three fields above must all point to the same VPS.

Customizing SharkTrustX

  1. Fork or clone this repository.
  2. Customize the template with your own logos and color options. The template page is based on the AdminLTE Bootstrap template. See the Mako Server tutorial How to Build an Interactive Dashboard App for details.

Installation Instructions

1: Sign up for a VPS provider and install a Debian (derivative) distribution.

2: After signing up for a VPS Service, take note of the online server's IP address, navigate to your company's DNS settings page, and add A text records for xx1.company.com, xx2.company.com, and xx.company.com, where xx is a sub domain such as 'acme' and company.com is your company name or any other domain name you own. All A records must point to the VPS IP address.

3: Wait 24 hours for the DNS settings to take effect.

Automatic Installation

Use the SharkTrustX Ansible Installation Scripts

Manual Installation

4: Login to the online VPS using SSH, and run the following set of commands in the SSH shell:

Update Linux

apt-get update
apt-get -y upgrade

Install Required Applications

apt-get -y install bind9 whois lsof git nano

Clone GIT repo in a suitable directory

git clone https://github.com/RealTimeLogic/SharkTrustX.git

Configure the Mako Server

SharkTrustX is a web application powered by the Mako Server.

Create a mako.conf script and add instructions for loading SharkTrustX

apps = {
   { name='', path='SharkTrustEx/www'},
}

Add the following to mako.conf:

-- The following settings are used by the Lua code in /home/mako/www
settings={
   ns1="acme1.realtimelogic.com",
   ns2="acme2.realtimelogic.com",
   dn="acme.realtimelogic.com",
   acme={
      production=true,
      rsa=true
   }
}

-- Required and used by /home/mako/www/.preload
log={
   logerr = true, -- Send Lua LSP exceptions by email
   smtp={
      subject="ACME Log",
      -- See the documentation for the required smtp fields
      -- https://realtimelogic.com/ba/doc/en/Mako.html#oplog
   }
}

Save the changes and start the Mako Server as user 'root'

mako

You should see the following being printed in the console two minutes after starting the Mako Server.

ACME: acme.realtimelogic.com renewed

The printout should be for your own service's domain name. The above printout signals that the service is operational. You may now terminate the Mako Server process by using CTRL-C and then install the Mako Server as a service.

You may now use a browser and navigate to xx.company.com (e.g. acme.realtimelogic.com)

sharktrustx's People

Contributors

rtl-pub avatar surfskidude avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.