question

paras avatar image
paras asked paras edited

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 Android SDKClover MiniClover Flex
10 |2000

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

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered paras edited

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

3 comments
10 |2000

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

paras avatar image paras commented ·

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 ·
David Marginian avatar image David Marginian ♦♦ paras commented ·

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 ♦♦ commented ·

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