You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
mysql schema for tls_mgm module has column ca_list for list of CA certificates, type is BLOB. But BLOB has max size 65535 bytes. It is enough for certificate or for private key, but of course not enough for list of trusted certificates. In CentOS this list is about 211K, Debian 235K. So ca_list should be of MEDIUMBLOB type.
To Reproduce
Store OS trusted root certificates to MySQL ca_list of any TLS domain.
Read ca_list from MySQL. It will be only 64K size.
Expected behavior
130-150 certificates can take more than 64K size. It should be possible to store them in DB.
Relevant System Logs
No errors in logs.
OS/environment information
Operating System: CentOS 7
OpenSIPS installation: git
The text was updated successfully, but these errors were encountered:
OpenSIPS version you are running
Describe the bug
mysql schema for tls_mgm module has column ca_list for list of CA certificates, type is BLOB. But BLOB has max size 65535 bytes. It is enough for certificate or for private key, but of course not enough for list of trusted certificates. In CentOS this list is about 211K, Debian 235K. So ca_list should be of MEDIUMBLOB type.
To Reproduce
Expected behavior
130-150 certificates can take more than 64K size. It should be possible to store them in DB.
Relevant System Logs
No errors in logs.
OS/environment information
git
The text was updated successfully, but these errors were encountered: