Hey,
I'm trying to test out our certificate handling inside PlayFabMockVmAgent. What do I need to put in the MultiplayerSettings.json to add a certificate to the container? I can't find anything on it in the docs.
Cheers,
Lewis
Hey,
I'm trying to test out our certificate handling inside PlayFabMockVmAgent. What do I need to put in the MultiplayerSettings.json to add a certificate to the container? I can't find anything on it in the docs.
Cheers,
Lewis
Have you tried to enter the local docker container and manually install the certificate? Currently, there is no documentation about it. If possible, you may also directly upload and test it via PlayFab API UploadCertificate. In most of the cases, PlayFabMockVmAgent and docker are for locally debugging the server build.
I did not, the code was already proven to load certificates. What we wanted to test was how we retrieved the thumbprint from PlayFabs GSDK, i.e. I wanted to ensure I could read the value from the config via Microsoft::Azure::Gaming::GSDK::getConfigSettings().find("MyCertAlias"), which would involve editing the MultiplayerSettings.json
In the end, I found a rough example in C# sample code and tested it on a remote server build.
I will mark and archive this thread temporarily since it has been idled for a while. If possible, it will be appreciated that you can share some key codes(please hide sensitive information), or basic ideas for this C# sample with the community for reference.
4 People are following this question.