I attempted to import a repo from a privately hosted GitLab repo to BitBucket. After supplying the https url to the repo and credentials, the import failed with
Peer’s Certificate issuer is not recognized.
The GitLab cert is issued by DigiCert SHA2 Secure Server CA.
Hi ,
The error is expected with privately hosted SCM. The Gitlab URL should be accessible over the internet for the import to be successful.
You can try to import the repository from command line by following the below instructions:
1) Create a new repository in Bitbucket Cloud
2) Clone the source git repo(from your GitLab server) with the --mirror option
3) Change the remote origin URL to the URL of the new Bitbucket Cloud repository
4) Push the complete repo to BitBucket Cloud using the "push -u origin --mirror" options
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.