Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Add Certificate *.pem Failing

Add Certificate *.pem failing

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By amfragal , 16 November, 2020
Forums
DLMSDirector

Hi Gurux team!

We are trying to load meter certificates in Gurux Director using the tab "Certificates" inside the tool "Gurux DLMS translator" available in the application.

After right click and select "Add" option, seems the tool wait for *.pem certificate format.
Our PKI generates meter certificates in *.cer format according to our trust anchor.
We are trying to export the public key certificates in *.pem format instead of *.cer to make available load in Gurux Director, but we are facing errors when adding in them:

"" The input is not a valid Base64 strings as it contais a non-base64 character, more than two padding characters, or illegal character among the padding characters ""

Do you have an example of public key certificate in *.pem format available to share in order to compare the format you use to load certificates in Gurux Director with the *.pem format generated in our PKI??

Thanks in advance!!

Profile picture for user Kurumi

Kurumi

5 years 6 months ago

Hi,

Hi,

Only pem-format is supported at the moment. I'll check is it possible to add support for crt.
In the meantime can you convert the certificate to pem format?
BR,
Mikko

amfragal

5 years 6 months ago

Hi!

Hi!

Exactly, that is what we have tried, export from our PKI the certificate in *.pem format instead of *.cer, but for any reason when we try add the *.pem certificate in Gurux Director the tool show us this error, as we explained previously:

"" The input is not a valid Base64 strings as it contais a non-base64 character, more than two
padding characters, or illegal character among the padding characters ""

Do you have an example *.pem cetificate valid for Gurux Director available to share in order to compare with the *.pem format exported by or PKI??

Thanks so much for the support!

Profile picture for user Kurumi

Kurumi

5 years 6 months ago

Hi,

Hi,

We are using X509Certificate structure that is defined on IEC
https://tools.ietf.org/html/rfc5280

I'll add support for the pem file for the worklist, but it will take some time before we can implement it.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin