RamblingCookieMonster / RabbitMQTools

PowerShell module containing cmdlets to manage RabbitMQ.
http://ramblingcookiemonster.github.io/RabbitMQ-Intro/
MIT License
31 stars 22 forks source link

Added the option SkipCertificateCheck for self-signed certificates #46

Open Frickeldave opened 3 years ago

Frickeldave commented 3 years ago

Hi,

based on issue #45 i added the option "SkipCertificateCheck" to all functions. I hope it's all fine, i am not the god-mode-powersheller. Let me know if something must changed. I tested it against a RabbitMQ instance with Version 3.9.1. with the alpine-management container. The self-signed certicates are created with openssl.

SSLSUBJECT="/C=$CRT_C/ST=$CRT_S/L=$CRT_L/O=$CRT_OU/CN=$CRT_CN" openssl req -x509 -newkey rsa:${CRT_LENGTH} -keyout /home/appuser/data/certificates/key.key -out /home/appuser/data/certificates/cer.crt -days $CRT_VALIDITY -nodes -subj "$SSLSUBJECT"

Frickeldave commented 3 years ago

Hey,

any issues with this change? would be great to get that merged.

Regards

Dave

Frickeldave commented 2 years ago

Hey,

again, just to give you ping. Would be great to merge this stuff into your repo. Please let me know, if i can support you by doing this...