Skip to content

SHA1 and MD5 not supported #48

@asesidaa

Description

@asesidaa

I want to use this library to generate a certificate for a legacy device, so I have to use MD5 or SHA1 for certificate signiture, however, setting HashAlgorithmName to MD5 or SHA1 would throw System.ArgumentOutOfRangeException: 'SHA1' is not a known hash algorithm. (Parameter 'hashAlgorithm') Actual value was SHA1..

After some googling, it seems that MD5 and SHA1 support should be added manually (from https://stackoverflow.com/questions/59885459/argumentoutofrangeexception-when-trying-to-create-a-self-signed-certificate-usin)

Is adding this support possible?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions