CertificateSigningRequest_Test
Simple app that tests the CertificateSigningRequest framework
This includes CertificateSigningRequest using SPM. You can test the cocoapod version in the pod branch.
Build and run the test the CSR_testTests.swift file and the CSR will print out in the console log window. You should get something like:
-----BEGIN CERTIFICATE REQUEST----- MIIBMDCB1wIBADB1MQswCQYDVQQGDAJVUzELMAkGA1UECAwCS1kxDTALBgNV BAcM BFRlc3QxDTALBgNVBAoMBFRlc3QxDTALBgNVBAsMBFRlc3QxLDAqBgNVBAMM I0Nl cnRpZmljYXRlU2lnbmluZ1JlcXVlc3RTd2lmdCBUZXN0MFkwEwYHKoZIzj0C AQYI KoZIzj0DAQcDQgAExrSyR8PBMPaW9llanSqOhl3l5LhlXv0LwYEW+Yhg8e5M OPs4 SlG8f33OFVUPPNWd09TnmtKg+P4VTuEfJphsqKAAMAoGCCqGSM49BAMCA0gA MEUC IQDF/PwAitcohl4lByxuqxJpSLJ5vueWq8US53/66RUREQIgMLInVDKCCoPH WDYM vtFAmaxL8+rK+Hr55f0PLZQ5PcM= -----END CERTIFICATE REQUEST-----
You can test if the CSR was created correctly here: https://redkestrel.co.uk/products/decoder/