Jump to content

On uploading MIME certificates for the enrollment user by enrollment user id


Recommended Posts

Dear All,

I hope you are fine.

I am new in this community. Previously I was using the WorkspaceONE-Discussions community.

I am working on an use case in which a PKCS#12 certificate needs to be uploaded to Workspace ONE UEM as shown in the image below:

image.png.d265d417dfc0c421f7127df76ead0cef.png

According to API documentation (System Management REST API V1), /users/{{userId}}/uploadsmimecerts can be used to upload MIME certificates for the enrollment user by enrollment user id.

Since a new Signing certificate needs to be uploaded, is there an API to get the current Signing certificate (or Encryption, Archived) from Workspace ONE UEM? 

The idea is retrieving this current certificate, upload it to Archived array, and then upload the new signing certificate.

 

Best regards

Antonio

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Even I'm also facing same issue, through post man I'm able to upload cert of corresponding enrollment user, https://host/api/system/users/{id}/uploadsmimecerts. Postman is displaying a 200 status code. We can see thumbprint under edit user> certificate, 

but not able to see cert has been placed either Current User > Personal > Certificate or Certificate - Local Computer > Personal > Certificate 

can someone guide me, that would be great help

Screenshot 2024-07-02 at 4.10.08 PM.png

Screenshot 2024-07-02 at 4.08.53 PM.png

Screenshot 2024-06-28 at 8.51.55 AM.png

Screenshot 2024-06-28 at 8.51.08 AM.png

Link to comment
Share on other sites

Posted (edited)

Dear @kanchan shaw,

I hope you are fine.

Thanks for adding your question.

The question I have is if there is any API to get or retrieve a certificate uploaded as Encryption, Signing or Archived from Workspace ONE UEM.

Regarding to your question, I just asked one of my colleagues from Systems Team and he told me that maybe you need to create a profile, something like a SMIME profile, to push the certificate from Workspace ONE UEM to your user device.

Something like this:

image.thumb.png.27f9c04fcf2f2eb6cdd385890318fbbe.png

 

image.png.30df321b33eb43b52a63ef704f1e2e00.png

 

I hope that can provide you some guidance, that is out of my scope 🙂

 

Best regards

Antonio

Edited by antonioaraujo
Add a couple of images for guidance
Link to comment
Share on other sites

As Antonio advice, you need to create a user profile for this with the Credentials payload.

However, the disadvantage of using the Workspace ONE UEM API is that it does not support uploading previous S/MIME certificates. It is only support in the web-based administration portal.

So if you have an S/MIME certificate that is valid for 1 year, and you send the new one to the Workspace ONE UEM API then all other certificates will be removed and only the latest one will be there.

This is OK for new S/MIME encrypted email, but any other S/MIME encrypted email that is older than 1 year will not be able to be read on the device.

 

SMIME.png

Link to comment
Share on other sites

Thanks Antonio/spg123,

After creating the profile, when I hit API uploadsmimecerts, i didn't see certificate had been placed,

but when I clicked save and publish under profile then able to placed cert in personal folder,

can you help me to end to end process how uploadsmimecerts API is working, 

below step I'm following:

1> add user -> registered device, then create a user profile as you suggested in the above step, After clicking save and publish button, I'm able to see registered devices associated with that,

then hit API api/system/users/10656/uploadsmimecerts , cert was not placed 

but when I first hit API then go to user profile and click the publish then we can see the cert has been placed.

requesting to need a 15-minute session end-to-end flow understand that would be a very grateful.

 

 

 

 

 

Screenshot 2024-07-08 at 12.01.30 PM.png

Screenshot 2024-07-08 at 12.01.04 PM.png

Link to comment
Share on other sites

  • Employee

@spg123 you can upload archived certificates through API, not sure why the API docs where never updated. we had issues with accepting expired certs but even that was fixed in 2017.

There is no API to read the existing certs so. So you would need to include them from the source again.

If you want to implement some more advanced user cert management you would need to implement the Escrow Gateway.

https://docs.omnissa.com/bundle/CredentialEscrowGatewayV2310/page/OverviewofCredentialEscrowGateway.html

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...