I have questions for implementation to authentication ECDSA with Gurux library for Java.
I wrote sample codes for server and client sides using ECDSA authentication.
In this time, I refered to initializeConnection() and generateCertificates() method in GXDLMSReader.java.
It seems to be connect successfully, but I encountered Invalid HDLC Frame error while read object.
You can generate new certificates with this:
-h YOUR_METER_IP -p 4049 -c HIGH_LEVEL:CLIENT_ADDRESS -a High -P YOUR_PASSWORD -t Verbose -T 4758436C69656E74 -N 0.0.43.0.1.255
Then try to connect with this:
-h YOUR_METER_IP -p 4059 -c 44 -a HighECDSA -t Verbose -T 4758436C69656E74 -M 4752580000000001 -K GeneralSigning -V Suite1 -C AuthenticationEncryption -v 0.0.43.1.1.255
ECDSA implementation for Java is quite slow and ECDSA is really complicated.
You don't need to do anything else than send a certificate for the meter. Meter will start to use it automatically when the client wants to use general signing.
Hi,
Hi,
Have you tried to generate new certificates and then connect using the client example?
https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.client…
You can generate new certificates with this:
-h YOUR_METER_IP -p 4049 -c HIGH_LEVEL:CLIENT_ADDRESS -a High -P YOUR_PASSWORD -t Verbose -T 4758436C69656E74 -N 0.0.43.0.1.255
Then try to connect with this:
-h YOUR_METER_IP -p 4059 -c 44 -a HighECDSA -t Verbose -T 4758436C69656E74 -M 4752580000000001 -K GeneralSigning -V Suite1 -C AuthenticationEncryption -v 0.0.43.1.1.255
ECDSA implementation for Java is quite slow and ECDSA is really complicated.
BR,
Mikko
Thanks a lot.
Thanks a lot.
I'll ask if i have any new questions later.
by the way, is there any implementation examples or guidances for server side with ecdsa?
Hi,
Hi,
You don't need to do anything else than send a certificate for the meter. Meter will start to use it automatically when the client wants to use general signing.
BR,
Mikko