The Smartcrypt Enterprise Manager (SEM) runs the application in the Microsoft dot net core framework. It still requires IIS to run to receive the web requests which are then passed to the web application. With the launch of the SEM 18.0, there is a powershell script that is run to install system prerequisites in addition to guide a system administrator to setting up the SEM.
Supported Windows Server Environments:
Windows Server 2012
Windows Server 2012 R2
Windows Server 2016
- Windows Core environments are currently not supported
- Log in to the Windows Server environment.
- Copy the SEM installation package to the Windows Server.
- Extract the .ZIP package
Setting Up the Installation Script
Open Windows Powershell as an Administrator
Go to the folder where you extracted the Smartcrypt Enterprise Manager files.
Run ./install.ps1. This script will run in this order.
Installing Missing IIS Features
The install program will download and install any Windows Internet Information Server (IIS) features needed to run Smartcrypt Enterprise Manager. These features include:
Identifying the Database
Once Internet Information Server is installed, you will be asked whether to install PostgreSQL on the Windows server. By default, the installer will assume you will use a remote database server for SEM. Press ‘Y’ to install PostgreSQL locally.
The installer will then extract the SEM program files.
Configuring Smartcrypt Enterprise Manager (SEM)
After installation, answer a series of configuration questions:
Site Name: If the installer identifies one or more existing Sites on this server, the installer will ask if you want to configure SEM on an existing (E) site or create a new (N) site. The default choice is create a new site. The installer will then ask you to Name the site. The default name is Smartcrypt, but you can change it here.
Confirm Application Name: This creates an application that contains the Smartcrypt content and code. By default, its name is mds (metadata server). Press N to define another application name. The installer will display the current list of Application Pools.
Create and Configure Application Pool: Application Pools manage Smartcrypt internal worker processes on IIS. The next few questions ask you whether you want to create a New pool for Smartcrypt Enterprise Manager (the default option), name the pool (default: Smartcrypt)
Confirm Hostname: The installer displays the hostname of the machine. Press Y to confirm.
Attach an HTTPS Certificate: Smartcrypt will use an existing X.509 certificate on the server, import a certificate from another device, or create a self-signed certificate (default). Because Smartcrypt Enterprise Manager works only with people and devices internal to your organization; a self-signed certificate is sufficient. If you choose to create a self-signed certificate, Smartcrypt will create and display the new certificate. Press Y to confirm that you want to use the new certificate.
Configuring Database Connection
You’re almost done! The installer displays the current Database Connection Information, looking like this:
Database Connection Information:
Database connection is invalid.
Fill in the missing entries. Confirming the defaults should be fine. Press N if you need to change any of these settings.
- Confirm Database Platform: In the example above, SQLServer is the platform. Press Y to confirm, or N to change.
- Set Database Server: Confirm that this machine is the database server for this Smartcrypt instance.
- Confirm Port: SEM uses port 1433 by default.
- Confirm database:
- Confirm database User ID: Enter the User ID and password.
- (Optional) Add Extra Parameter: You may add another requirement for authenticating a user for database access. Default is No.
The installer will test the database connection configured here. If the connection is not Valid, review and correct the settings.
Set Account Passwords
Before the installer script runs, set the account password for this SEM instance.
Add SEM Account password:
Confirm Local Administrator user password:Credentials for the SuperUser admin.
When this is complete, the installer will complete the installation. The script will setup an Application Pool, Site and Application in IIS on the server.
When the installer is complete, you should be able to open the SEM on https://<hostname>/mds.
If you are not able to reach the site, confirm the hostname is accessible via DNS or a hostfile.