Skip to content

C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys filling up #580

Open
@jknepfle

Description

@jknepfle

I have an app using PushSharp. It seems that every time I call new ApplePushChannelSettings with my certificate from Apple, a file is created in C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys (which is how it's supposed to happen, I believe, when it creates a X509Certificate). However, that file is never deleted.

Doing a little research, this comment (from ApplePushChannelSettings) seems relevant:
// Fixed by [email protected] :
// The default is UserKeySet, which has caused internal encryption errors,
// Because of lack of permissions on most hosting services.
// So MachineKeySet should be used instead.

It seems as though MachineKeySet tells the machine to keep the key around forever. If you have an application that sends a lot of notifications, those files pile up. Any ideas of what I can do to work around?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions