Hostame/IP does not match certificate's altnames: Host: ***.***-assets.nyc3.digitaloceanspaces.com. is not in the cert's altnames: DNS:*.nyc3.digitaloceanspaces.com, DNS:nyc3.digitaloceanspaces.com

Hello guys, I apologise for the late reply. I do not really check the forum that much so I may have missed any assistance or giving a solution that worked for me.For any future devs please do not use the strapi-provider-upload-do library if possible. Use the official library that’s maintained by the Strapi team AWS-S3 Link

The plugins configuration is

 upload: {
    config: {
      provider: "aws-s3",
      providerOptions: {
        s3Options: {
          credentials: {
            accessKeyId: process.env.DO_SPACE_ACCESS_KEY,
            secretAccessKey: process.env.DO_SPACE_SECRET_KEY,
          },
          endpoint: process.env.DO_SPACE_ENDPOINT, // aws-s3 v3 needs a prefixed https:// endpoint
          region: process.env.DO_SPACE_REGION,
          params: {
            Bucket: process.env.DO_SPACE_BUCKET,
          },
        },
      },
      actionOptions: {
        upload: {},
        uploadStream: {},
        delete: {},
      },
    },
  },

Am using Strapi version 4.17.0 as of this post. The Strapi library aws-s3 works like a charm. You can combine that library with prefix and use the cdn link from Digital Ocean spaces in Strapi to get awesome performance: Strapi Plugin Prefix