Closed Anas-Nabulsi closed 7 months ago
@Anas-Nabulsi Would you be able to privately share a similar version of your certificate/key with some obfuscated information? (but generally the same kind of characters)
Please make sure these are never used on production on your end.
@obahareth , you actually pointed me to the right direction. It was an incorrect certificate and key. After I ensured they are correct, it worked perfectly. Thanks a lot.
I'm facing this error here at tag 8 and 9 respectively... any guidance is appreciated
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tag.rb:40:in
chr': 550 out of char range (RangeError) from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tag.rb:40:in
to_tlv' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tags.rb:47:inmap' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tags.rb:47:in
to_tlv' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tags.rb:33:in `to_base64'C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tag.rb:40:in
chr': 512 out of char range (RangeError) from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tag.rb:40:in
to_tlv' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tags.rb:47:inmap' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tags.rb:47:in
to_tlv' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zatca-1.1.0/lib/zatca/tags.rb:33:in `to_base64'