question

paras avatar image
paras asked ·

Android certificate generation

I am using this code https://github.com/clover/remote-pay-android-examples and I came across folder “resources->certs”


There are 2 crt files in there :

  • device_ca_certificate.crt
  • env_device_ca_certificate.crt


I would like to know is it required to use same certificates, or do I need to generate from my developer account? If I need to generate, how do I generate them?

Clover MiniClover Android SDKClover Flex
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
David Marginian avatar image
David Marginian answered ·

These certificates are used by the SDK (internally) when connecting to the device via a secure network connection (Secure Network Pay Display.

3 comments Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

So do we need to generate new certificate for each application or we need to use same available in sample?

Please share any official link if there is any documentation @David

0 Likes 0 · ·

You shouldn't need to do anything, as I said the SDK will use the included certificates when connecting to the device.

https://docs.clover.com/clover-platform/docs/configuring-secure-network-pay-display



0 Likes 0 · ·
paras avatar image paras David Marginian ♦♦ ·

okay.. Thanks

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community