class MStrap::Mkcert

Overview

Manages the integration with mkcert for issuing localhost certificates

Included Modules

Defined in:

mstrap/supports/mkcert.cr

Instance Method Summary

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

cmd(env : Hash | Nil, command : String, args : Array(String) | Nil, **kwargs) cmd, has_command?(command_name : String, **kwargs) : Bool has_command?

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]