Tuesday, 04 June 2024
  6 Replies
  645 Visits
  Subscribe
Hello,

do I need to use the special indy version to use that component? In de def I saw that its only activated if SGC CUSTOM INDY is definde. I would like to stay with the standard INDY that came with my D12 as I have a lot of stuff depending on INDY and I don't want to break that.

Thanks for help!
5 months ago
·
#2058
Hello,

The enterprise edition comes with a custom indy version because the standard indy version doesn't implement several features required by webpush. But there is no need to change anything in your IDE, both versions can work together because in the custom indy version, the indy units are renamed (start with "sgc"). So if you are using indy in other projects, you can remain with the standard indy version that comes with delphi.

Kind Regards,
Sergio
5 months ago
·
#2059
Hello Sergio,

thanks for this explanation, perfect. I am happy having licensed that great library!
5 months ago
·
#2066
The example works great. Can you give me a hint how to generate the reuired keys with delphi? That would be very kind!
5 months ago
·
#2071
Hello,

I was able to generate a DER Keypair, converted it to PEM and copied all to the example program. It worked. But I wonder, why I need the keys in DER and the same keys in PEM?
5 months ago
·
#2074
Hello,

In your account, you can download an executable that generates the VAPID keys

https://www.esegece.com/my-account/sgcwebsockets/libraries/webpush

Both PEM and DER are required by the webpush specification.

Kind Regards,
Sergio
5 months ago
·
#2076
Thank you very much for your quick and kind help!

Best greetings from Germany!
  • Page :
  • 1
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf,pas,dfm,dpr,dproj,dpk
· Insert · Remove
  Upload Files (Maximum 10MB)