wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

Add support for Mosquitto OSP

Open embhorn opened this issue 2 years ago • 3 comments

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

embhorn avatar May 31 '23 22:05 embhorn

Converted to draft. Will revisit effort when prioritized.

embhorn avatar May 15 '24 18:05 embhorn

Tabs-to-spaces from my editor messed up the patch file https://github.com/wolfSSL/osp/pull/178

embhorn avatar Jun 10 '24 13:06 embhorn

Fixed a bunch of failing mosquitto tests by concatenating the server cert with the CA. Should be good for final review now.

embhorn avatar Jun 28 '24 19:06 embhorn