When we tried to migrate our Gitlab from Http to Https , we met a problem of Maven Central which was also maintained as a Git repo. peer not authenticated Basically the reason is JVM can not pick up trusted CA from local machine. So we manually trusted it with commands. 1. Get the certificate file (.cer). I am using Mac so I just trusted that certificate through browser and it will be saved in Keychain Access. Then I just export that certificate as .cer file. 2. Copy the .cer file to $JDK_HOME/jre/lib/security folder 3. Run the command keytool - import - alias <alias_of_this_cert> - file < cert_file_name_you_exported . cer > - keystore cacerts - storepass changeit 4. Gradle is able to find dependencies now. NOTE : how to get current JAVA_HOME: /usr/libexec/java_home [-v '1.8'] how to transfer file through ssh: cat {origin file} | ssh {username}@{remote host} "cat - > {target file}"
More than Hello World on Firebase - Why More than Hello World with Firebase - Why If you search about Firebase or are attracted by the title, I believe there is no need for me to introduce Firebase which has been explained well with its own documents. So let’s jump into the real stuff. Why Firebase Cheap or even free in early stage. Here, we are talking about in the early stage of a product. Mostly, we need faster prototyping at that moment. It requires more optimisations after product reach certain user base and, of course, we might need other tools other than Firebase to solve the problem. Easy development with the tools Firebase provides. It provides SDK for Android, iOS and Web and they are open sourced. From frontend development point of view, we can focus on real business problems we need to solve, but no need to struggle with some common parts, such as Auth , Crash report , Event tracking , Push notification , CDN , etc. Google’s service means we w...
Comments
Post a Comment