I am using openssl asn1parse
tool over RHEL
, I have my own ASN.1 abstract syntax file, called TestModule.asn1
, when I am trying to parse a message using following command:
openssl asn1parse -inform DER -genconf TestModule.asn1 -in CDRMessage -out test.txt
I got the following error:
Error on line 1 of config file 'TestModule.asn1'
140411047393096:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:362:line 1
Noting that I checked the config file, and it should be free of errors.
Update:
Here is a listing for the first 10 lines in the TestModule.asn1 file:
-- File : TestModule.asn1
--
CDRMSG_GA_1040 {iso(1) member-body(2) bsi(826) disc(0) vndr(1249)
Domain (0) charge (5) cDRMSG (1) asn1Module (0)}
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
Any help would be highly appreciated.
TestModule.asn1
in your question, or at least an extract around line 1? It would help considerably :-)