Error "Solution Serial Number not found" when using compliance API?

While using OpenSSL to create a CSR instead of the SDK, the CSR generated sucessfully however I encountered an error related to the serial number while using it through Compliance API. The config.cnf file contains the serial number as shown below:

[alt_names]
SN=14142328-e6a2

How can I resolve this error and successfully create the CSR with OpenSSL?

Serial number should be provided in a free-text format adhering to the following regular expression pattern: (1-Manufacturer or Solution Provider Name | 2-Model or Version | 3-SerialNumber).

For Example :
[alt_names]
SN=1-AB|2-89|3-14142328-e6a2