class MStrap::Mkcert


Manages the integration with mkcert for issuing localhost certificates

Included Modules

Defined in:


Instance Method Summary

Instance methods inherited from module MStrap::DSL::System

cmd(env : Hash | Nil, command : String, args : Array(String) | Nil, shell = true, input = Process::Redirect::Inherit, output = Process::Redirect::Inherit, error = Process::Redirect::Inherit, quiet = false, sudo = false) cmd

Instance methods inherited from module MStrap::DSL::Logging

log(msg) log, logc(msg) logc, logd(msg) logd, logn(msg) logn, logw(msg) logw, success(msg) success

Instance Method Detail

def install! #

Runs mkcert install process to add CARoot, etc.

[View source]
def install_cert!(hostname, wildcard = true) #

Installs a new mkcert for a hostname, with an optional wildcard version (enabled by default)

[View source]
def installed? #

Returns whether mkcert is installed

[View source]