wolfssl
wolfssl copied to clipboard
Add support for Mosquitto OSP
Description
To support mosquitto OSP
Add SSL_CTX_set_dh_auto stub
Add --enable-mosquitto config option
Testing
wolfSSL
git clone https://github.com/wolfSSL/wolfssl.git
cd wolfssl
./autogen.sh
./configure --enable-mosquitto CFLAGS="-DALLOW_INVALID_CERTSIGN -DWOLFSSL_CRL_ALLOW_MISSING_CDP"
make
make install
Mosquito OSP patch https://github.com/wolfSSL/osp/blob/3617f4303d64d4d97aab5caede7ee460aa1912ec/mosquitto/2.0.18.patch
Eclipse Mosquitto
git clone https://github.com/eclipse/mosquitto.git
cd mosquitto
git checkout v2.0.18
patch -p1 < <path/to/patch/file>
make WITH_TLS=wolfssl
make WITH_TLS=wolfssl ptest
Checklist
- [X] added tests
- [ ] updated/added doxygen
- [X] updated appropriate READMEs
- [ ] Updated manual and documentation
Converted to draft. Will revisit effort when prioritized.
Tabs-to-spaces from my editor messed up the patch file https://github.com/wolfSSL/osp/pull/178
Fixed a bunch of failing mosquitto tests by concatenating the server cert with the CA. Should be good for final review now.