Error: C:\Temp\sqlpackage-win7-x64-en-16.1.6374.0>SqlPackage.exe /a:import /sf:C:\Temp\Testbackup.bacpac /tsn:localhost /tdn:Testbackup /p:CommandTimeout=1200
Importing to database 'Testbackup' on server 'localhost'.
Creating deployment plan
Initializing deployment
*** Changes to connection setting default values were incorporated in a recent release. More information is available at https://aka.ms/dacfx-connection
*** Error importing database:Could not import package.
Changes to connection setting default values were incorporated in a recent release. More information is available at https://aka.ms/dacfx-connection
Unable to connect to target server 'localhost'. Please verify the connection information such as the server name, login credentials, and firewall rules for the target server.
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
The certificate chain was issued by an authority that is not trusted.
*** The settings for connection encryption or server certificate trust may lead to connection failure if the server is not properly configured.
Time elapsed 0:00:03.82
I followed your blog however its failed:
C:\Temp\sqlpackage-win7-x64-en-16.1.6374.0>SqlPackage.exe /a:import /sf:C:\Temp\Testbackup.bacpac /SourceTrustServerCertificate=True /tsn:localhost /tdn:Testbackup /p:CommandTimeout=1200
*** Unrecognized command line argument 'SourceTrustServerCertificate=True'.