testgrinder
Go to testgrinder
  • Overview
  • testgrinder uses
    • Testing
      • User Acceptance Testing
      • Change Testing
      • Regression Testing
      • Performance Testing
      • Stress Testing
    • Data management
      • Data verification
    • Configuration management
    • Training videos development
  • Getting Started
    • Video: Get Started with testgrinder
    • First steps
    • Example Scripts
    • Writing your first scenario
    • Scenarios
    • Run reports
  • Writing Scenarios
    • Anatomy of Maximo UI
      • Maximo login page
      • Start Center
      • Application Screen
      • Value lists
      • Advanced Search
      • Targeting fields with no labels
    • Finding the right steps
    • Step autocompletion
    • Scenarios vs Scenario Outlines
    • Snippets and Templates
      • testgrinder Templates Project
      • testgrinder Snippets Project
  • Examples
    • Interacting with electronic signature dialog
    • Automated granting of application access
    • Add a job plan
    • Add an item
    • Add an item to storeroom
  • Administration
    • Accessing Maximo behind a firewall
    • Managing User Access
    • Using Git to Back Up and Version Control testgrinder Projects
  • Self Managed Private Cloud (SMPC)
    • testgrinder SaaS vs testgrinder SMPC
    • Releases
      • Version 1.0.8
      • Version 1.0.0
    • testgrinder Architecture
    • testgrinder Configuration
      • Configuration Files
      • Database Stored Settings
    • Deployment Instructions
      • Prerequisites
      • Subscribing to testgrinder on AWS Marketplace
      • Virtual Private Cloud
      • Security Groups
      • S3 Buckets
      • IAM Roles
      • Key Pair
      • Launch tg-app
      • Finalize Configuration File .env
      • Finalizing Database Stored Settings
      • Minimal Deployment Complete
      • Install SSL Certificate
      • Force HTTP to HTTPS
      • External Database
      • Configure Auto Scaling Group
        • Target Groups
        • Load Balancers
        • Launch Template
        • Auto Scaling Group
        • Finalize Auto Scale Group Deployment
    • Test the Deployment
    • Monitoring
    • Backup and Restore Database
Powered by GitBook
On this page
  • testgrinder service will be discontinued on January 31, 2025
  • testgrinder SMPC was discontinued as of February 1, 2024
  • Modifying ssl_cert.crt and ssl_private_key.key

Was this helpful?

  1. Self Managed Private Cloud (SMPC)
  2. Deployment Instructions

Install SSL Certificate

testgrinder service will be discontinued on January 31, 2025

testgrinder SMPC was discontinued as of February 1, 2024

To avoid a security warning when accessing testgrinder via https, you will need to supply a valid SSL certificate for the domain on which testgrinder will be responding to user requests.

You supply SSL certificate to tg-app instances by either manually placing files ssl_cert.crt and ssl_private_key.key in /home/testgrinder/tg-app/config/provision on tg-app instances, or via the User Data mechanism. Both ways are described in Configuration Files.

Make sure the SSL certificate is issued to the domain to which tg-app is configured to respond (see DOMAIN_WEB in .env Configuration File)

Once SSL certificate is supplied and tg-app instances are restarted, you should no longer see a security warning when accessing testgrinder.

Modifying ssl_cert.crt and ssl_private_key.key

You may modify the SSL certificate files using the following commands:

  • Substitute my-tg-app with public DNS name of tg-app

  • cat commands below are used to copy text from the console input to the files; after invoking the command, paste the contents of the file, and then complete the action with Ctrl+D

$ ssh ubuntu@my-tg-app
$ sudo su - testgrinder
$ cd ~/tg-app/config/provision
$ cat > ssl_cert.crt
$ cat > ssl_private_key.key

Make sure that ssl_private_key.key is only readable by the user:

$ chmod 600 ssl_private_key.key
$ ls -la ssl_private_key.key 
-rw------- 1 testgrinder testgrinder 3272 Nov 10 14:09 ssl_private_key.key

PreviousMinimal Deployment CompleteNextForce HTTP to HTTPS

Last updated 1 year ago

Was this helpful?