By Michael Schumann on Tuesday, 04 June 2024
Posted in General
Replies 6
Likes 0
Views 495
Votes 0
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!
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
·
3 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sergio,

thanks for this explanation, perfect. I am happy having licensed that great library!
·
3 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
The example works great. Can you give me a hint how to generate the reuired keys with delphi? That would be very kind!
·
3 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
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?
·
3 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
3 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much for your quick and kind help!

Best greetings from Germany!
·
3 months ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post