Ms

multiOTP Self-Hosted MFA Server - TOTP/HOTP

AWS Security

multiOTP, an OATH certified open source strong authentication server for TOTP and HOTP one time passwords, with a per instance admin password generated on first boot.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

multiOTP is an open source, OATH certified strong two factor authentication server. It issues and validates time based and counter based one time passwords (TOTP and HOTP) as well as Mobile OTP, provisions users to authenticator apps with QR codes, and keeps its users and tokens in a simple local store, all driven from a command line utility and a bundled web administration interface. It gives teams a self hosted second factor they own inside their own cloud account, ready to plug into VPNs, RADIUS front ends and login flows.

Why the cloudimg image

A default administrator login turns an authentication server into a liability, so cloudimg makes multiOTP secure by default. On the first boot of every instance a unique administrator password is generated and applied to two gates in lock step, the multiOTP web administration interface and the nginx HTTP Basic authentication gate that fronts it, a per instance self signed TLS certificate is regenerated, and the credentials are written to a file only the root user can read, so no default credential is ever reachable and no two instances share one. The image ships the open source LGPL edition only, never the commercial appliance, serves the admin console over HTTPS, and keeps the application and token store on a dedicated, independently resizable data volume. It comes with a paired deployment guide and 24/7 cloudimg support.

Common uses

  • A self hosted TOTP and HOTP one time password server
  • Second factor for VPNs, RADIUS and login flows
  • Provisioning users to authenticator apps with QR codes

Key features

  • Deploy a fully configured OATH MFA server in minutes instead of spending hours on manual PHP, nginx, TLS, and OATH-engine setup. multiOTP with PHP 8.3 is pre-tuned and ready to provision TOTP/HOTP tokens via QR code for any RFC 6238/4226 authenticator app including Google Authenticator, Microsoft Authenticator, and FreeOTP.
  • Every instance starts with a unique security posture - no shared or default credentials ever ship. On first boot, a fresh admin password and TLS certificate are generated automatically, eliminating the security gap that manual installs often leave open on the very server meant to enforce authentication.
  • 24/7 technical support from cloudimg by email and live chat, with a one-hour average response for critical issues. Engineers assist with deployment, upgrades, RADIUS integration for VPNs and network gear, HTTPS/certificate setup, and EBS storage administration.

See it running

Real screenshots taken while testing this image against its deployment guide.

multiOTP Self-Hosted MFA Server - TOTP/HOTP screenshot 1 multiOTP Self-Hosted MFA Server - TOTP/HOTP screenshot 2 multiOTP Self-Hosted MFA Server - TOTP/HOTP screenshot 3

Description

This is a repackaged open source software product wherein additional charges apply for cloudimg support services.

## Self-Hosted Two-Factor Authentication - Deploy in Minutes, Not Hours

multiOTP is an open source, OATH-certified strong-authentication (MFA) server that adds time-based (TOTP) and event-based (HOTP) one-time passwords to your applications, VPNs, and network devices - while keeping every token seed on infrastructure you control. This AMI delivers multiOTP 5.10.2.2 (LGPL open-source edition) fully installed and hardened. Launch the instance and sign in to the web admin console over HTTPS to start creating users and provisioning tokens immediately.

## Why This AMI Instead of a Manual Install

Standing multiOTP up from source means installing and tuning a PHP runtime, wiring a web server, generating a TLS certificate, hardening the admin gate, and validating the OATH engine end to end - hours of work with plenty of room for misconfiguration that undermines the very system meant to protect you. This image removes that entire workflow:

  • Zero configuration required - PHP 8.3 with OPcache, nginx over HTTPS, and the flat-file token store are pre-tuned and connected
  • No separate database server - the flat-file store keeps the appliance fully self-contained, reducing operational overhead and attack surface
  • No shared or default credentials - every instance generates its own unique admin password and regenerates its TLS certificate on first boot
  • Dedicated data volume - application code and user/token store reside on an independently resizable Amazon EBS volume

## Application Stack

  • multiOTP 5.10.2.2 open-source (LGPL-3.0), OATH-certified TOTP/HOTP/Mobile-OTP
  • PHP 8.3 with OPcache and all required extensions
  • nginx serving the web admin over HTTPS on port 443, HTTP Basic auth in front of the console
  • Flat-file user, token, device, and group store on a dedicated EBS data volume

## Secure First Boot

On first launch, a one-shot service generates a fresh administrator password unique to that instance, applies it in lock-step to both the nginx Basic-auth gate and the multiOTP web admin, regenerates a per-instance self-signed TLS certificate, and writes the credentials to a root-only file. Any build-time account and the multiOTP default admin are reset to unusable placeholders, so every instance starts with a clean, unique security posture.

## What You Can Protect

multiOTP speaks the standards your infrastructure already understands:

  • OATH TOTP and HOTP - works with Google Authenticator, Microsoft Authenticator, FreeOTP, and any RFC 6238/4226 authenticator app
  • QR-code provisioning - enroll a user's phone by scanning a QR code from the web admin
  • RADIUS-ready - back a RADIUS front end to add MFA to VPNs, firewalls, and network gear
  • CLI and web management - manage users and tokens from the browser console or the multiotp command line

On the AWS side, the dedicated data volume leverages Amazon EBS for durable, resizable storage. Enable EBS encryption for data-at-rest protection and use Amazon CloudWatch to monitor instance health and performance metrics.

## Use Cases

  • Add MFA to a VPN or firewall - front a RADIUS-capable VPN, firewall, or network appliance with multiOTP so remote access requires a one-time code, without paying per-user for a hosted MFA service
  • Two-factor for your own applications - issue TOTP/HOTP tokens and validate one-time passwords from your applications over multiOTP's CLI or web service, keeping every token seed inside your own VPC
  • Privacy-focused, self-owned authentication - replace a hosted authenticator service with an open-standards server you control, avoiding vendor lock-in and keeping authentication secrets off third-party platforms

## Getting Started

1. Launch the AMI from AWS Marketplace

2. Retrieve the generated admin password from the root-only credentials file on the instance

3. Browse to the instance address over HTTPS and sign in to the multiOTP web admin console

4. Create a user and provision a token by scanning the QR code with an authenticator app

5. Point your applications, VPN, or RADIUS front end at multiOTP to begin validating one-time passwords

## cloudimg Support

24/7 technical support by email and live chat. Engineers assist with multiOTP deployment, upgrades, token and user provisioning, RADIUS integration, HTTPS/certificate setup, and EBS storage administration. Critical issues receive a one-hour average response time. Contact our support team for sizing guidance tailored to your environment.

All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Related technologies

two factor authenticationmfa servertotp serverhotpoath authenticationone time passwordself hosted mfaradius mfavpn two factorqr code tokenauthenticator serverstrong authenticationopen source mfaphp mfa appliance