class MStrap::Mkcert
- MStrap::Mkcert
- Reference
- Object
Overview
Manages the integration with mkcert for issuing localhost certificates
Included Modules
Defined in:
mstrap/supports/mkcert.crInstance Method Summary
-
#install!
Runs mkcert install process to add CARoot, etc.
-
#install_cert!(hostname, wildcard = true)
Installs a new mkcert for a hostname, with an optional wildcard version (enabled by default)
-
#installed?
Returns whether mkcert is installed
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_cert!(hostname, wildcard = true)
#
Installs a new mkcert for a hostname, with an optional wildcard version (enabled by default)